BCGControlBar Pro for MFC
virtual int CBCGPChartSeries::AddDataPoint ( double  dblY,
BCGPChartFormatSeries pDataPointFormat = NULL,
DWORD_PTR  dwUserData = 0 

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.

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

Reimplemented in CBCGPChartHistoricalLineSeries, and CBCGPChartLongSeries.