TCustomTrendFunction.Coefficient
TCustomTrendFunction
function Coefficient(Source: TChartSeries; FirstIndex, LastIndex: Integer): Double;
Unit
CurvFitt
Description
Returns the correlation coefficient of source series point values, from FirstIndex to LastIndex.
The result is a number between -1 and 1 indicating how related are the X and Y values of source series, being 0 if the values are totally unrelated.