Skip to main content
A newer version of this page is available. .

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

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).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowRotate 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.

See Also