TCustomChartLegend.LegendStyle

TCustomChartLegend.LegendStyle
TCustomChartLegend

property LegendStyle: TLegendStyle;

Unit
Chart

Description
Default Value: lsAuto

The LegendStyle property defines which items are to be displayed in the Chart Legend.

lsSeries style shows the TChartSeries
Series.Title.html">Title of all active Series in a Chart.

Whenever a Series Title is empty, the Series Name property is used.

lsValues style shows a text representation of all the points of the first active Series in a Chart.

lsLastValues style shows the last point value and the T
CustomChartSeries Title of all active Series in a Chart. It is useful for real-time charting, where new points are being added at the end of each Series.

lsAuto style (the default) means LegendStyle will be lsSeries when there's more than one Active Series, and lsValues when there's only one Series in a Chart.

The TextStyle property determines how the Series point values are formatted.