Back to Devexpress

AxisLabelResolveOverlappingOptions.AllowHide Property

corelibraries-devexpress-dot-xtracharts-dot-axislabelresolveoverlappingoptions.md

latest3.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public bool AllowHide { get; set; }
vb
Public Property AllowHide As Boolean

Property Value

TypeDescription
Boolean

true , if hiding axis labels is allowed; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowHide
AxisLabel

.ResolveOverlappingOptions .AllowHide

|

Remarks

The following table demonstrates this property in action.

AllowHide = falseAllowHide = 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

csharp
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

vb
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

AxisLabelResolveOverlappingOptions Members

DevExpress.XtraCharts Namespace