BCGControlBar Pro for MFC
void CBCGPChartTrendFormula::AddCoefficient ( double  dblCoef)

Adds coefficient to a formula.

Call this method to add a custom coefficient to a formula. You may want to use this method to display custom trend lines. The first coefficient in the internal array of coefficients corresponds to the left most coefficient in the formula. For example, for the function f(x) = ax + b:

a = m_arCoef[0]

b = m_arCoef[1].

Parameters
dblCoefSpecifies a coefficient to add.