TChartSeries.DrawLegend
TChartSeries
procedure DrawLegend(ValueIndex: Integer; Const Rect: TRect); virtual;
Unit
TeEngine
Description
Draws a Legend shape to represent the Series ValueIndex point at the Rect location.
The method may be used to paint a custom Legend or colour key to represent Series and/or Series points.
Example
// Paints Legend representation of ValueIndex 3 at Rect location.
Series1.DrawLegend(3,Rect(10,10,20,20));