Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AxisLabel.ResolveOverlappingOptions Property

Gets or sets whether some axis labels are automatically hidden to avoid overlap. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public AxisLabelResolveOverlappingOptions ResolveOverlappingOptions { get; set; }

#Property Value

Type Description
AxisLabelResolveOverlappingOptions

An AxisLabelResolveOverlappingOptions enumeration value.

#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>
See Also