BCGSuite for MFC
virtual CBCGPSize CBCGPChartVisualObject::OnCalcLegendLabelSize ( CBCGPGraphicsManager pGM,
CBCGPChartSeries pSeries,
int  nDataPointIndex 
)
virtual

Called to calculate legend label size.

Override this method in a derived class if you intend to customize appearance of legend labels. Also you have to override CBCGPChartVisualObject::OnDrawChartLegendLabel.

Parameters
pGMA pointer to a graphics manager.
pSeriesA pointer to a series whose label size is about to be calculated.
nDataPointIndexSpecifies data point index. It's greater or equal to zero if the legend label corresponds to a data point.