| int CBCGPChartVisualObject::AddChartData | ( | double | dblData, |
| int | nSeries = 0, |
||
| CBCGPChartData::ComponentIndex | ci = CBCGPChartData::CI_Y, |
||
| DWORD_PTR | dwUserData = 0, |
||
| BCGPChartFormatSeries * | pFormatDataPoint = NULL, |
||
| BCGPChartFormatSeries * | pFormatSeries = 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()).
| dblData | A new data to be set at the sepecified component index. |
| nSeries | A zero-based series index. |
| ci | Specifies a component index. |
| dwUserData | User-defined data to be associated with a new data point. |
| pFormatDataPoint | Data point formatting options. |
| pFormatSeries | Series formatting options. |