CChart::SetRange

CChart::SetXRange

CChart::SetYRange


void SetRange( BOOL setX, double low, double high );
void SetXRange( double low, double high );
void SetYRange( double low, double high );

Parameters

Description

These functions set the range of the axes on the current plot 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 range for whatever axis controls the x or y range.


CChart Reference | CPlot Reference