AxisLabelResolveOverlappingOptions.AllowHide Property
Gets or sets a value indicating whether or not to hide axis labels when resolving any overlap.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if hiding axis labels is allowed; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowHide |
---|---|
AxisLabel |
|
Remarks
The following table demonstrates this property in action.
AllowHide = false | AllowHide = true |
---|---|
Use the AxisLabelResolveOverlappingOptions.AllowStagger, AxisLabelResolveOverlappingOptions.AllowRotate and AllowHide properties to define which algorithms can be used when resolving overlapping axis labels.
Note
when this property is set to true, labels are hidden evenly. You cannot prevent hiding specific (e.g., the first or last) labels.
For more information about overlapping axis label resolution, refer to the Axis Labels document.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowHide 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.