Skip to main content
A newer version of this page is available. .

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; }

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.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the LabelsVisibility 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