PaintSeriesLegend

PaintSeriesLegend procedure

procedure PaintSeriesLegend(Const ASeries: TChartSeries; Const ACanvas: TCanvas; Const R: TRect);

Unit
Chart

Description
This procedure is internally used by the Series Editor dialog to display a graphical representation of the ASeries parameter.

You can also use this procedure in your own applications, although is an internal procedure and might change in the future.

Example:

PaintSeriesLegend( Series1, PaintBox1.Canvas, PaintBox1.ClientRect );


This procedure is also used by the Chart ListBox component to display each series.