AxisBase.LabelTextFormatter Property

Gets or sets an object that provides custom string representations of axis label values to labels.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

Declaration

public IAxisLabelTextFormatter LabelTextFormatter { get; set; }

Property Value

Type Description
IAxisLabelTextFormatter

The object that provides custom string representations of axis label values to labels.

Examples

This example illustrates how to use the text formatter to assign a custom text to axis labels:

<dxc:DateTimeAxisX>
    <dxc:DateTimeAxisX.LabelTextFormatter>
            <local:AxisLabelTextFormatter/>
    </dxc:DateTimeAxisX.LabelTextFormatter>
</dxc:DateTimeAxisX>

The code above uses the following classes and members:

Symbol

Description

AxisBase.LabelTextFormatter

Gets or sets an object that provides custom string representations of axis label values to labels.

IAxisLabelTextFormatter

See Also