Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change. .

AxisLabelFormatAutoReplaceOptions Class

Stores date-time axis label formats for arguments of different measurement units.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

[ContentProperty("LabelFormats")]
public class AxisLabelFormatAutoReplaceOptions :
    StyledElement

The following members return AxisLabelFormatAutoReplaceOptions objects:

Example

The following example configures a date-time axis so that it automatically shows when the next month starts:

Axis Label Format Auto Replace

<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>

Inheritance

Object
BindableObject
ChartElement
StyledElement
AxisLabelFormatAutoReplaceOptions
See Also