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

Gets or sets a value indicating whether to rotate 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 AllowRotate { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

The following table demonstrates this property in action.

AllowRotate = false AllowRotate = true
AxisLabelResolveOverlapping-Default AxisLabelResolveOverlapping-AllowRotate_true

Use the AxisLabelResolveOverlappingOptions.AllowStagger, AllowRotate and AxisLabelResolveOverlappingOptions.AllowHide properties to define which algorithms can be used when resolving overlapping 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