Skip to main content

SeriesBase.LegendText Property

Gets or sets the text that identifies the series within the legend of a chart control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[Browsable(false)]
[OldApi("This is old API. It is recommended to use the LegendTextPattern property instead.")]
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public string LegendText { get; set; }

Property Value

Type Description
String

A String value that specifies the series’ legend text.

Remarks

Important

This property is an outdated API. Use the SeriesBase.LegendTextPattern property instead.

See Also