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

NumericOptions Class

Contains specific settings which define the representation of numeric values for display purposes.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v18.2.dll

Declaration

public class NumericOptions :
    ChartDependencyObject,
    INumericOptions

The following members return NumericOptions objects:

Remarks

The NumericOptions class contains settings which specify the display representation of numeric values.

An object of the NumericOptions type is available via the PointOptions.ArgumentNumericOptions, PointOptions.ValueNumericOptions and AxisBase.NumericOptions properties.

Example

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>

The following code snippets (auto-collected from DevExpress Examples) contain references to the NumericOptions class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also