BCGSuite for MFC
virtual void CBCGPChartAxis::SetFixedDisplayRange ( double  dblMinimum,
double  dblMaximum,
double  dblMajorUnit = 0. 
)
virtual

Sets fixed display range.

Use this method when you wish manually specify the displayed range on an axis. It overrides automatic calculation of minimum and maximum displayed values and forces an axis to display values in the specified range. Also you can specify a major unit size to override automatic calculation of major units on the specified interval.

This method is not compatible with zoom and scroll modes, because zoom and scroll set their own display range.

You can call SetAutoDisplayRange() to return back to automatic mode.

Parameters
dblMinimumSpecifies new fixed minimum displayed value.
dblMaximumSpecifies new maximum displayed value.
dblMajorUnitSpecifies major unit size to to use on the interval. If it's omitted, then major unit size will be calculated automatically.