|
virtual |
Called to draw a legend key.
Override this method in a derived class if you need to customize appearance of a legend key on the "implementation".
You can also customize appearance of a legend key size on the "chart" level by overriding CBCGPChartVisualObject::OnDrawChartLegendKey.
If you need to customize also legend key size override CBCGPChartVisualObject::OnCalcLegendKeySize.
pGM | A pointer to a graphics manager. |
rectLegendKey | Bounding rectangle of a legend key. |
pSeriesStyle | Series formatting options. |
pSeries | A pointer to a series. |
nDataPointIndex | Specifies zero-based data point index. It can be -1 if a key is drawn for a series. |