BCGSuite for MFC
virtual CBCGPSize CBCGPChartVisualObject::OnCalcAxisLabelSize ( CBCGPGraphicsManager pGM,
CBCGPChartAxis pAxis,
double  dblValue,
CString &  strLabel,
const CBCGPTextFormat textFormat 
)
virtual

Called to calculate axis label size.

This method is called to calculate an axis label size.

Override this method in a derived class and return TRUE if you intend to customize axis labels. You will need to override OnDrawAxisLabel() as well.

Parameters
pGMA pointer to a graphics manager.
pAxisA pointer to an axis.
dblValueA pointer to a value whose label size should be calculated.
strLabelLabel string.
textFormatLabel text format.