BCGSuite for MFC
virtual CBCGPSize CBCGPBaseChartImpl::OnGetDataLabelSize ( CBCGPGraphicsManager pGM,
const CString &  strDPLabel,
const CBCGPChartDataPoint pDataPoint,
CBCGPChartSeries pSeries,
int  nDataPointIndex 
)
virtual

Called to calculate data label size.

Override this method in a derived class if you customize size and appearance of data labels at the "implementation" level. You can override CBCGPChartVisualObject::OnCalcDataLabelSize if you wish to customize size of data labels at the chart level.

Parameters
pGMA pointer to a graphics manager.
strDPLabelContains data label text.
pDataPointA pointer to a data point whose data label size is calculated.
pSeriesA pointer to a series.
nDataPointIndexSpecifies data point index.