BCGControlBar Pro for MFC
virtual int CBCGPChartSeries::AddDataPoint ( const CBCGPChartDataPoint srcDataPoint)
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
srcDataPointA reference to a data point.

Reimplemented in CBCGPChartLongSeries, and CBCGPChartSurfaceSeries.