BCGControlBar Pro for MFC
virtual int CBCGPChartSeries::AddDataPoint ( CBCGPChartDataPoint pDataPoint)
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
pDataPointA pointer to a data point.

Reimplemented in CBCGPChartHistoricalLineSeries, CBCGPChartLongSeries, and CBCGPChartSurfaceSeries.