A newer version of this page is available. Switch to the current version.

SeriesBase.Legend Property

Gets or sets a legend which displays the series legend item or series point legend items.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[NonTestableProperty]
[TypeConverter(typeof(LegendTargetTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
[DefaultValue(null)]
public Legend Legend { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
<NonTestableProperty>
<TypeConverter(GetType(LegendTargetTypeConverter))>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
<DefaultValue(Nothing)>
Public Property Legend As Legend

Property Value

Type Default Description
Legend

null

A Legend object displaying a series legend.

Implements

DevExpress.XtraCharts.Native.ICheckableLegendItem.Legend
See Also