|
virtual |
Creates a formula.
This method creates an output series and displays it on the specified axes. The created series has BCGPChartLine category, but you can call CBCGPChartSeries::SetChartType to change its category to any other compatible category.
Call CBCGPChartSeries::GetFormula for any future references to the formula instance.
If you don't specify pYAxis and/or pXAxis, the output series will be displayed on primary axis/axes.
pChart | A pointer to a chart. |
strFormulaName | Specifies output series name (displayed in legend). |
pInputSeries | A pointer to an input series, whose data should be used to generate an output series. |
pYAxis | A pointer to Y axis. |
pXAxis | A pointer to X axis. |
Reimplemented in CBCGPChartAdvancedBandsFormula.