Back to Devexpress

How to: Use the Numeric Options of Series Points

wpf-9236-controls-and-libraries-charts-suite-chart-control-examples-miscellaneous-how-to-use-the-numeric-options-of-series-points.md

latest1.3 KB
Original Source

How to: Use the Numeric Options of Series Points

  • Jun 07, 2019

This example demonstrates how you can access the numeric options of series points, e.g. to control the precision with which their values are displayed by series labels.

xaml
<dxc:AreaSeries2D.PointOptions>
    <dxc:PointOptions Pattern="${V}">
        <dxc:PointOptions.ValueNumericOptions>
            <dxc:NumericOptions Precision="2" Format="FixedPoint" />
        </dxc:PointOptions.ValueNumericOptions>
        <dxc:PieSeries2D.PercentOptions>
            <dxc:PercentOptions ValueAsPercent="False" />
        </dxc:PieSeries2D.PercentOptions>
    </dxc:PointOptions>
</dxc:AreaSeries2D.PointOptions>

The result is shown in the following image.

See Also

How to: Use the Percent Options of Series Points

How to: Display Values Instead of Percents in the Legend