BCGControlBar Pro for MFC
CBCGPDoubleArray* CBCGPChartSeries::GetDataBuffer ( int  nBufferIndex)

Gets a pointer to array of double values, which can be used to store additional series values.

You can use this method to allocate additional arrays (CArray<double, double>) to store series values. A requested array located at nBufferIndex index is allocated automatically.

Additional buffers can be useful for implementing advanced formulas that require some intermediate calculations (for example, many financial indicators have to store some data for individual data points calculated on specified period).

nBufferIndexSpecifies index of buffer.