Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AxisLabelResolveOverlappingOptions.AllowHide Property

Gets or sets a value indicating whether to hide axis labels when resolving any overlap.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool AllowHide { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

The following table demonstrates this property in action.

AllowHide = false AllowHide = true
AxisLabelResolveOverlapping-Defalt AxisLabelResolveOverlapping-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 can not prevent hiding specific (e.g., the first or last) labels.

For more information about overlapping axis label resolution, refer to the Axis Labels document.

See Also