Skip to main content

AxisLabelResolveOverlappingOptions Class

Contains a property that automatically hides some axis labels to avoid overlap.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public class AxisLabelResolveOverlappingOptions :
    ChartElement

The following members return AxisLabelResolveOverlappingOptions objects:

Example

You can hide axis labels to resolve overlapping labels. To enable this option, assign an AxisLabelResolveOverlappingOptions object (its AllowHide property should be set to true) to the AxisLabel.ResolveOverlappingOptions property.

<dxc:DateTimeAxisX x:Name="myAxis" GridAlignment="Day" GridSpacing="6">
    <dxc:DateTimeAxisX.Label>
        <dxc:AxisLabel TextFormat="M/d/yy">
            <dxc:AxisLabel.ResolveOverlappingOptions>
                <dxc:AxisLabelResolveOverlappingOptions AllowHide="True"/>
            </dxc:AxisLabel.ResolveOverlappingOptions>
        </dxc:AxisLabel>
    </dxc:DateTimeAxisX.Label>
</dxc:DateTimeAxisX>

Inheritance

Object
BindableObject
ChartElement
AxisLabelResolveOverlappingOptions
See Also