Skip to main content

Series.ShowInLegend Property

Gets or sets a value that specifies whether the data series is represented in the chart control’s legend.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v22.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool ShowInLegend { get; set; }

Property Value

Type Description
Boolean

true to represent the data series in the legend; otherwise, false.

Remarks

Use the ShowInLegend property to control whether the data series is indicated within the chart control’s legend.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowInLegend property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also