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

SeriesBase.LabelsVisibility Property

Specifies whether to show labels for a series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty]
public DefaultBoolean LabelsVisibility { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
<XtraSerializableProperty>
Public Property LabelsVisibility As DefaultBoolean

Property Value

Type Description
DefaultBoolean

True to show series labels; False to hide them; Default - label visibility depends on the series view and chart control type.

Remarks

NOTE

By default, series labels are visible in the following cases.

In all of these cases, the crosshair cursor is not available, and to improve readability of the series data, labels are visible by default.

In all other cases, series labels are hidden by default.

The following table shows the LabelsVisibility property in action.

LabelsVisibility = DefaultBoolean.False LabelsVisibility = DefaultBoolean.True
LabelsVisibilityfalse LabelsVisibilitytrue
See Also