TCustomFittingFunction.FirstPoint
TCustomFittingFunction
property FirstPoint: Integer;
Unit
CurvFitt
Description
Default Value: -1
With FirstPoint and LastPoint properties you can restrict the subset of points TCurveFittingFunction will use to calculate the polynomy coefficients and it's point values.
By default is -1, meaning all datasource points from the beginning will be used to perform the calculation.
The CurveFittingFunction1.CheckDataSource method must be called after setting FirstPoint and LastPoint properties, forcing TCurveFittingFunction to recalculate again all point values.