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

Called to calculate a bounding rectangle of data point.

Returns
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.

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