BCGControlBar Pro for MFC
virtual int CBCGPChartSeries::AddDataPoint ( const CBCGPChartDataPoint srcDataPoint)

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.

srcDataPointA reference to a data point.

Reimplemented in CBCGPChartLongSeries, and CBCGPChartSurfaceSeries.