ICurveFittingFunction.AnswerVector
ICurveFittingFunction
property AnswerVector[Index: Integer]: Double;
Type Library
TeeChartx
Description
Read-only and run time only. The AnswerVector array property returns the polynomical coefficients used to calculate all CurveFitting points. TCurveFittingFunction calculates the coefficients just before drawing all points. The GetCurveYValue method returns the corresponding Y value for a given X value.
This code [Delphi] displays the polynomy:
for t := 1 to CurveFittingSeries1.PolyDegree do
begin
WriteLn( 'Degree: ', t, CurveFittingSeries1.AnswerVector[ t ]:15:5 );
end;