NumericOptions.Format Property

Gets or sets a value that specifies the formatting applied to numeric values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public NumericFormat Format { get; set; }
Public Property Format As NumericFormat

Property Value

Type Description
NumericFormat

A NumericFormat enumeration value.

Property Paths

You can access this nested property as listed below:

Object Type Path to Format
PointOptions
PointOptions

Remarks

Use the Format property, to define the appropriate format for numeric values representation in axis labels, series point labels or in legend.

Examples

This example demonstrates how to customize the PointOptions.ValueNumericOptions and PercentOptions properties.

<dxc:AreaFullStackedSeries2D.PointOptions>
    <dxc:PointOptions>
        <dxc:PointOptions.ValueNumericOptions>
            <dxc:NumericOptions Format="Percent" Precision="2" />
        </dxc:PointOptions.ValueNumericOptions>
        <dxc:AreaFullStackedSeries2D.PercentOptions>
            <dxc:PercentOptions PercentageAccuracy="3" />
        </dxc:AreaFullStackedSeries2D.PercentOptions>
    </dxc:PointOptions>
</dxc:AreaFullStackedSeries2D.PointOptions>
See Also