BCGControlBar Pro for MFC
virtual const CBCGPChartDataPoint* CBCGPChartSeries::GetDataPointAt ( int  nIndex) const
virtual

Returns a pointer to a data point located at the specified index.

Call this method to retrieve a pointer to a data point located at the specified index.

You can override this method in a derived class to implement virtual series. The derived class may hold a single CBCGPChartDataPoint object whose pointer is always returned, but its internal data can be updated with your virtual data every time the external code (the chart) calls GetDataPointAt(). In addition you need to override GetDataPointCount() method to specify the number of data points in your virtual data and GetDataPointValue() to return the virtual data by component index.

Parameters
nIndexA zero-based index of a data point to retrieve.

Reimplemented in CBCGPBaseChartStockSeries, and CBCGPChartLongSeries.