Skip to main content
RSS feed Subscribe to feed

 

Skip Navigation LinksHome  Extending the Spotfire Platform  Creating Extensions to the Spotfire Platform  Creating a Fitting Model  Fitting Model: Exporting the Curve Fit Result to a Table

©Spotfire 2011

Fitting Model: Exporting the Curve Fit Result to a Table

This example exports curve fit results to a table.

StraightLineFittingModel straightLineFit = 
    plot. FittingModels.AddNew<StraightLineFittingModel>();

// Get the results as a data source
DataSource dataSource = straightLineFit.GetResultsDataSource();

// Create a table from the data source
dataManager.Tables.Add("curve fit results", dataSource);