Back to Devexpress

AxisLabelEngineeringNotation Class

maui-devexpress-dot-maui-dot-charts-8397503b.md

latest2.6 KB
Original Source

AxisLabelEngineeringNotation Class

Converts axis label numbers to engineering notation.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public class AxisLabelEngineeringNotation :
    AxisLabelNotationBase

Example

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

Engineering Notation

Decimal Notation

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

Implements

IElementController

INotifyPropertyChanged

Inheritance

System.Object BindableObject Element ChartElementBase ChartElement AxisLabelNotationBase AxisLabelEngineeringNotation

Extension Methods

Yield<AxisLabelEngineeringNotation>()

YieldIfNotNull<AxisLabelEngineeringNotation>()

See Also

AxisLabelEngineeringNotation Members

DevExpress.Maui.Charts Namespace