CChart::SetAutoRange

CChart::SetXAutoRange

CChart::SetYAutoRange


void SetAutoRange( BOOL setX);
BOOL SetXAutoRange( void );
BOOL SetYAutoRange( void );

Parameters

Description

These functions set whether the X and Y directions are auto ranging based on what axes are present. By default, CChart and the derived functions assume that the bottom axis will determine the X range and the top axis will determine the Y range. However, in the case that a bottom axis doesn't exist, the top axis will determine the range. These functions will set the auto range flag for whatever axis controls the x or y range.


CChart Reference | CPlot Reference