BCGControlBar Pro for MFC
virtual void CBCGPBaseChartImpl::OnCalcDataPointLabelRect ( CBCGPGraphicsManager pGM,
CBCGPChartDataPoint pDataPoint,
const CBCGPRect rectDiagramArea,
CBCGPChartSeries pSeries,
int  nDataPointIndex 
)
virtual

Called to calculate a bounding rectangle of a data label associated with specified data point.

Data label size and position depend on data label formatting options and bounding rectangle of data point "shape".

Parameters
pGMA pointer to a graphics manager.
pDataPointA pointer to a data point.
rectDiagramAreaBounding rectangle of diagram area.
pSeriesA pointer to a series.
nDataPointIndexSpecifies zero-based data point index.