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

Axis2D.Visibility Property

Specifies whether to show X and Y-axes on a diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


public DefaultBoolean Visibility { get; set; }
Public Property Visibility As DefaultBoolean

Property Value

Type Description

Default - the axis visibility is defined according to the adaptive layout algorithm when the chart is resized; True - X and Y-axes are visible on a diagram; False - X and Y-axes are hidden. The default is DefaultBoolean.Default.


Use the Visibility property to control the overall visibility of an axis within a chart's diagram.


The Default returned value of the Visibility property is in affect when the adaptive layout feature is enabled. So, ensure the ChartControl.AutoLayout property is set to true.

The adaptive layout feature is used to maintain a better chart appearance and layout when the chart becomes smaller.

See Also