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

Called to calculate legend key size.

Override this method in a derived class if you wish to customize appearance of legend keys.

You need to override CBCGPChartVisualObject::OnDrawChartLegendKey as well.

pSeriesA pointer to a series whose legend key size should be calculated.
nDataPointIndexSpecifies data point index. It's greater or equal to zero if the legend key corresponds to a data point.
A legend key size.