BCGControlBar Pro for MFC
virtual void CBCGPBaseChartImpl::OnCalcBoundingRect ( CBCGPChartDataPoint pDataPoint,
const CBCGPRect rectDiagramArea,
CBCGPChartSeries pSeries,
int  nDataPointIndex 

Called to calculate a bounding rectangle of data point.

A bounding rectangle of data point.

For "shape" charts, like column/bar, pie, pyramid, funnel the rectangle is calculated around the shape.

For point charts, like line and area, the bounding rectangle has left/top values equal to right/bottom values.

pDataPointA pointer to a data point.
rectDiagramAreaBounding rectangle of diagram area.
pSeriesA pointer to a series.
nDataPointIndexData point index.