AxisLabel.ResolveOverlappingOptions Property
Gets or sets whether some axis labels are automatically hidden to avoid overlap.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
Declaration
public AxisLabelResolveOverlappingOptions ResolveOverlappingOptions { get; set; }
Property Value
Type |
---|
AxisLabelResolveOverlappingOptions |
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