Series.LabelsVisibility Property
Specifies whether to show series labels.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to show series labels; false to hide them (default). |
Remarks
The following table shows charts with different LabelsVisibility
property values:
LabelsVisibility = false | LabelsVisibility = true |
---|---|
The following example enables series labels and formats their text:
<dxc:PointSeries2D ...
LabelsVisibility="True">
<dxc:PointSeries2D.Label>
<dxc:SeriesLabel TextPattern="${Sales:f2}K"/>
</dxc:PointSeries2D.Label>
</dxc:PointSeries2D>
Related GitHub Examples
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.