AxisLabel.ResolveOverlappingOptions Property

Provides access to the options that define how to resolve overlapping axis labels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisLabelResolveOverlappingOptions ResolveOverlappingOptions { get; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property ResolveOverlappingOptions As AxisLabelResolveOverlappingOptions

Property Value

Type Description
AxisLabelResolveOverlappingOptions

An AxisLabelResolveOverlappingOptions object.

Examples

The Chart Control uses the built-in Resolve overlapping algorithm to rearrange labels to avoid overlaps. This examples demonstrates how to use the ResolveOverlappingOptions to fine-tune the Resolve Overlapping algorithm:

AxisLabel axisLabel = ((XYDiagram)chartControl.Diagram).AxisX.Label;

axisLabel.ResolveOverlappingOptions.AllowHide = true;
axisLabel.ResolveOverlappingOptions.AllowRotate = true;
axisLabel.ResolveOverlappingOptions.AllowStagger = true;
axisLabel.ResolveOverlappingOptions.MinIndent = 5;                  

The example above uses the following API members:

Member Description
AxisLabelResolveOverlappingOptions.AllowHide Gets or sets a value indicating whether or not to hide axis labels when resolving any overlap.
AxisLabelResolveOverlappingOptions.AllowRotate Gets or sets the value that indicates whether or not to rotate axis labels when resolving overlapping labels.
AxisLabelResolveOverlappingOptions.AllowStagger Gets or sets a value indicating whether or not to stagger axis labels when resolving overlapping labels.
AxisLabel.ResolveOverlappingOptions Provides access to the options that define how to resolve overlapping axis labels.
See Also