BCGControlBar Pro for MFC
virtual CBCGPSize CBCGPBaseChartImpl::OnCalcLegendKeySize ( CBCGPChartSeries pSeries,
int  nDataPointIndex 

Called to calculate size of a legend key.

Override this method if you wish to customize legend key size on the "implementation" level. You can also customize a legend key size on the "chart" level by overriding CBCGPChartVisualObject::OnCalcLegendKeySize.

pSeriesA pointer to a series.
nDataPointIndexSpecifies zero-based data point index.