int CBCGPChartVisualObject::AddSeries | ( | CBCGPChartSeries * | pSeries, |
BCGPChartFormatSeries * | pFormatSeries = NULL , |
||
int | nIndex = -1 |
||
) |
Adds a new series to the internal list of series.
Use this method to add a series that has been allocated with operator new.
nIndex can be -1 to add a series at the end; otherwise you should ensure that an existing series located at this index is properly destroyed or relocated.
pSeries | A pointer to a series. |
pFormatSeries | Series formatting options. |
nIndex | Specifies series index. |