BCGControlBar Pro for MFC
virtual void CBCGPChartAxis::SetFixedIntervalWidth ( int  nWidth,
int  nValuesPerInterval = 1 
)
virtual

Sets "fixed interval" mode.

Call this function to enable "fixed interval" mode. In this mode major intervals have the specified by nWidth size in pixels. An axis tries to display nValuesPerInterval values within this interval.

Zoom and Magnify increase or decrease the number of values per interval.

This mode is useful for historical charts, where X axis has no mean or formatted as date.

Parameters
nWidthSpecifies fixed interval width in pixels.
nValuesPerIntervalSpecifies number of values per interval. It's recommended to set this parameter in range [1, nWidth].