corelibraries-devexpress-dot-xtracharts-dot-axislabelresolveoverlappingoptions.md
Gets or sets a value indicating whether or not to hide axis labels when resolving any overlap.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool AllowHide { get; set; }
Public Property AllowHide As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if hiding axis labels is allowed; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowHide |
|---|---|
| AxisLabel |
.ResolveOverlappingOptions .AllowHide
|
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.
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.
winforms-heatmap-bind-to-data-source/CS/Form1.cs#L68
heatmap.AxisX.Label.ResolveOverlappingOptions.AllowRotate = false;
heatmap.AxisX.Label.ResolveOverlappingOptions.AllowHide = false;
heatmap.AxisY.Title.Text = "Product Category";
winforms-heatmap-bind-to-data-source/VB/Form1.vb#L46
Me.heatmap.AxisX.Label.ResolveOverlappingOptions.AllowRotate = False
Me.heatmap.AxisX.Label.ResolveOverlappingOptions.AllowHide = False
Me.heatmap.AxisY.Title.Text = "Product Category"
See Also
AxisLabelResolveOverlappingOptions Class