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.
- A series view type is pie, donut, 3D pie or 3D donut.
- A series view type is compatible with XY-Diagram 3D.
- A series is plotted within the XRChart control.
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 |
---|---|
![]() |
![]() |
See Also
Feedback