ChartDirector 7.1 (C++ Edition)
TrendLayer
.
getCoefficient
Usage
double getCoefficient(int i);
Description
Gets the coefficients of the regression function.
The coefficients depend on the regression type. They are indexed as a
0
, a
1
, a
2
, ... in the regression type table published on
TrendLayer
.
Arguments
Argument
Default
Description
i
(Mandatory)
The index of the coefficient to get.
Return Value
The coefficient a
i
in the regression function.
© 2023 Advanced Software Engineering Limited. All rights reserved.