Skip to main content

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.v14.2.dll

#Declaration

[XtraSerializableProperty]
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 series on the diagram, make sure the check box appears on a legend (Legend.UseCheckBoxes and Series.CheckableInLegend properties are set to true).

See Also