Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Series.CheckedInLegend Property

Gets or sets a value that determines whether a legend check box is checked for a chart series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool CheckedInLegend { get; set; }

#Property Value

Type Description
Boolean

true, if a legend check box is checked for the series; otherwise, false.

#Remarks

Use the CheckedInLegend property to control the visibility of a series. If the legend check box is checked, the series is shown on a diagram, otherwise, the series is invisible.

Note

To control the visibility of a constant line on the diagram, ensure the check box appears on a legend (Legend.MarkerMode is set to ChechBox, CheckBoxAndMarker or MarkerAndCheckBox and Series.CheckableInLegend property is set to true).

#Implements

See Also