AxisTitle.Visibility Property
Gets or sets a value which specifies whether to show an axis title on a diagram.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DefaultBoolean Visibility { get; set; }
Property Value
Type | Description |
---|---|
DefaultBoolean | Default - the axis title visibility is defined according to the adaptive layout algorithm when the chart is resized; True - X and Y-axes titles are visible on a diagram; False - X and Y-axes titles are hidden. The default is DefaultBoolean.Default. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
Use the Visibility property to show or hide the X and Y- axes titles on a diagram.
Note
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Visibility 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.