maui-devexpress-dot-maui-dot-charts-dot-datetimeaxisx-65e9e2e8.md
Gets or sets whether the date-time axis detects if adjacent argument values belong to different time intervals (for example, days of different months) and automatically displays a transition label (for example, the first-day label of the next month) with a different format. This is a bindable property.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public AxisLabelFormatAutoReplaceOptions LabelFormatAutoReplaceOptions { get; set; }
| Type | Description |
|---|---|
| AxisLabelFormatAutoReplaceOptions |
An object that stores axis label formats for arguments of different measurement units.
|
The following example configures a date-time axis so that it automatically shows when the next month starts:
<dxc:DateTimeAxisX x:Name="xAxis" GridAlignment="Day" GridSpacing="5">
<dxc:DateTimeAxisX.LabelFormatAutoReplaceOptions>
<dxc:AxisLabelFormatAutoReplaceOptions>
<dxc:DateTimeLabelFormat MeasureUnit="Day" Format="d"/>
<dxc:DateTimeLabelFormat MeasureUnit="Month" Format="MMM, d"/>
</dxc:AxisLabelFormatAutoReplaceOptions>
</dxc:DateTimeAxisX.LabelFormatAutoReplaceOptions>
</dxc:DateTimeAxisX>
See Also