CBCGPChartTrendFormula::CBCGPChartTrendFormula | ( | TrendLineType | type, |
CBCGPChartSeries * | pSeries = NULL , |
||
LPARAM | lParam = NULL |
||
) |
Constructs a CBCGPChartTrendFormula object.
type can be one of the following enumerated values:
TLT_POWER - power trend line
If pSeries is NULL use AddCoefficient() / SetCoefficients() to display a trend line of the specified type with custom coefficients.
If diagram does not display any series except the "formula" series, you need to either set trend line range using SetTrendRange(), or call CBCGPChartAxis::SetFixedDisplayRange.
type | A Trend Line type. |
pSeries | A pointer to an input series. |
lParam | User defined data. |