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.AllowStagger Property

Gets or sets a value indicating whether to stagger axis labels when resolving overlapping labels.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool AllowStagger { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

The following table demonstrates this property in action.

AllowStagger = false AllowStagger = true
AxisLabelResolveOverlapping-Default AxisLabelResolveOverlapping-AllowStagger_true

Use the AllowStagger, AxisLabelResolveOverlappingOptions.AllowRotate and AxisLabelResolveOverlappingOptions.AllowHide properties to define which algorithms can be used when resolving the overlap of axis labels.

Note

The AllowRotate and AllowStagger properties only affect labels of a horizontal 2D XY Diagram axis (an arguments x-axis or values y-axis when XYDiagram2D.Rotated is enabled).

See Also