int CBCGPChartVisualObject::AddChartData | ( | CArray< double, double > & | arData, |
int | nSeries = 0 , |
||
DWORD_PTR | dwUserData = 0 , |
||
BCGPChartFormatSeries * | pFormatDataPoint = NULL |
||
) |
Adds data to a series.
This is a helper that simplifies adding data to a series specified by nSeries index.
If a series with nSeries index has not been created, this method creates a new series according to the current chart type (see SetChartType()).
arData | Array of data values. |
nSeries | A zero-based series index. |
dwUserData | User-defined data to be associated with a new data point. |
pFormatDataPoint | Data point formatting options. |