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

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.

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