BCGControlBar Pro for MFC
void CBCGPChartHistoricalLineSeries::SetHistoryDepth ( int  nDepth,
BOOL  bInitY = FALSE,
double  dblDefaultY = 0 
)

Sets history depth.

Call this method to specify how many data points the series can hold. If a history series is created indirectly, the history depth is set to 1000 values.

The default initial value is 0.

Parameters
nDepthSpecifies the new history depth.
bInitYSpecifies whether the history should be filled with a predefined value.
dblDefaultYSpecifies a default value to set for all history data points.