|
virtual |
Calculates major and minor units for an axis.
This method is called to calculate major and minor units for an axis. Can be overridden in a derived class to customize axis behavior. At the end the override must call CBCGPChartAxis::CalcMinMaxDisplayedValues.
Sometimes minimum value should not be calculated (it's assumed to be 0 for some axis setups).
pGM | A pointer to a graphics manager. |
nUnitsToDisplay | A restriction how many units to display on the axis. (UINT)-1 means no restriction. |