Skip to main content
A newer version of this page is available. .

AxisLabelEngineeringNotation Class

Converts axis label numbers to engineering notation.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public class AxisLabelEngineeringNotation :
    AxisLabelNotationBase

Example

This example shows how to use engineering notation to display X-axis labels with large numbers (e.g., millions) that take up a large amount of space when shown in decimal (default) form.

<dxc:ChartView>
    <dxc:ChartView.Series>
        <!-- Series data. -->
    </dxc:ChartView.Series>

    <dxc:ChartView.AxisY>
        <dxc:NumericAxisY>
            <dxc:NumericAxisY.LabelValueNotation>
                <dxc:AxisLabelEngineeringNotation/>
            </dxc:NumericAxisY.LabelValueNotation>
            <dxc:NumericAxisY.Label>
                <dxc:AxisLabel Position="Inside" TextFormat="$#"/>
            </dxc:NumericAxisY.Label>
            <!-- Other settings of the Y-axis -->
        </dxc:NumericAxisY>
    </dxc:ChartView.AxisY>

    <dxc:ChartView.AxisX>
        <!-- The X-axis settings. -->
    </dxc:ChartView.AxisX>
</dxc:ChartView>

Inheritance

Object
Xamarin.Forms.BindableObject
ChartElement
AxisLabelNotationBase
AxisLabelEngineeringNotation
See Also