Skip to main content

AxisLabelResolveOverlappingOptions.AllowStagger Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool AllowStagger { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowStagger
AxisLabel
.ResolveOverlappingOptions .AllowStagger

Remarks

The following table demonstrates this property in action.

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

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

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