BCGSuite for MFC
virtual int CBCGPChartSeries::AddDataPoint ( const CString &  strCategoryName,
double  dblY,
BCGPChartFormatSeries pDataPointFormat = NULL,
DWORD_PTR  dwUserData = 0 
)
virtual

Adds a new data point to a series.

Call this function to add a new data point to a series. A data point will be added at the end of the internal array of data points. If a series works in "history" mode and the history depth has been reached, the oldest data point is automatically removed.

Parameters
strCategoryNameCategory name.
dblYY value.
pDataPointFormatA pointer to data point formatting options. Can be NULL.
dwUserDataSpecifies user-defined data.

Reimplemented in CBCGPChartHistoricalLineSeries, and CBCGPChartLongSeries.