Skip to main content

Series.LabelsVisibility Property

Specifies whether to show series labels.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts


public bool LabelsVisibility { get; set; }

Property Value

Type Description

true to show series labels; false to hide them (default).


The following table shows charts with different LabelsVisibility property values:

LabelsVisibility = false LabelsVisibility = true
LabelsVisibilityDisabled LabelsVisibilityEnabled

The following example enables series labels and formats their text:

Series labels are shown and formatted

<dxc:PointSeries2D ...
        <dxc:SeriesLabel TextPattern="${Sales:f2}K"/>

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


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