BCGSuite for MFC
virtual void CBCGPChartAxis::CalcMajorMinorUnits ( CBCGPGraphicsManager pGM,
UINT  nUnitsToDisplay = -1 
)
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).

Parameters
pGMA pointer to a graphics manager.
nUnitsToDisplayA restriction how many units to display on the axis. (UINT)-1 means no restriction.