Skip to main content

AxisLabelResolveOverlappingOptions.AllowRotate Property

Gets or sets the value that indicates whether or not to rotate axis labels when resolving overlapping labels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public bool AllowRotate { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowRotate
AxisLabel

Remarks

The following images demonstrate this property in action.

AllowRotate = false AllowRotate = true
AxisLabelResolveOverlappingOptions-Default AxisLabelResolveOverlappingOptions-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 AxisLabelResolveOverlappingOptions.AllowStagger properties only affect labels of a horizontal XY-Diagram axis (an arguments x-axis or values y-axis when XYDiagram.Rotated is enabled).

Refer to the Axis Labels document for more detail about axis labels.

The following code snippets (auto-collected from DevExpress Examples) contain references 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