Back to Devexpress

AxisLabelFormatAutoReplaceOptions Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-f2563e80.md

latest2.1 KB
Original Source

AxisLabelFormatAutoReplaceOptions Class

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

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

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

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

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyledElement AxisLabelFormatAutoReplaceOptions

See Also

AxisLabelFormatAutoReplaceOptions Members

DevExpress.XamarinForms.Charts Namespace