void CBCGPChartTrendFormula::SetCoefficients | ( | const CArray< double, double > & | arCoef | ) |
Sets an array of coefficients.
Use this method to specify all coefficients that have been calculated by your application to display a curve without input series.
The first coefficient in arCoef corresponds to the left most coefficient in the formula. For example, for the function f(x) = ax + b:
a = arCoef[0]b = arCoef[1]
All existing coefficients are removed.
arCoef | A reference to an array of coefficients. |