int CBCGPChartVisualObject::AddChartDataYXY1 | ( | const CString & | strCategoryName, |
double | dblY, | ||
double | dblX, | ||
double | dblY1, | ||
int | nSeries = 0 , |
||
DWORD_PTR | dwUserData = 0 , |
||
BCGPChartFormatSeries * | pFormatDataPoint = NULL |
||
) |
Adds a new data point with specified Y, Y1 and X values.
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()).
Use this method for charts that require Y, Y1 and (optionally) X values (for example, range charts and Bubble chart).
strCategoryName | Specifies a category name. |
dblY | Specifies Y value. |
dblX | Specifies X value. |
dblY1 | Specifies Y1 value. |
nSeries | Zero-based series index. |
dwUserData | User-defined data to be associated with a new data point. |
pFormatDataPoint | Data point formatting options. |