TCustomChartLegend.Series
TCustomChartLegend
property Series: TChartSeries;
Unit
Chart
Description
Set Series to determine which series is used as data for the Legend entries.
By default, the Legend chooses the first Active Series with ShowInLegend:=True.
It only applies to Legend style "lsValues".
Example:
Chart1.Legend.Series := Series5 ;