CAxis::GetRange

CAxis::SetRange


void GetRange( double *range );
void SetRange( double low, double high);
void SetRange( BOOL set, double low, double high );

Parameters

Description

GetRange function copies the range of the current axis into range.

For GetRange, if the axis is set for auto-ranging, it will copy the auto-ranged values into range, provided the chart has been displayed. The value returned by GetRange is invalid until the chart is displayed.

For SetRange, calling this function with set equal to TRUE or without set means that auto-ranging is turned off for this axis. Calling this function with set equal to FALSE retains auto-ranging.


CAxis Reference | CPlot Reference