wpf-devexpress-dot-xpf-dot-charts-dot-pointoptions-6b57968f.md
Gets the settings which define how to display numeric data values of series points.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public NumericOptions ValueNumericOptions { get; set; }
Public Property ValueNumericOptions As NumericOptions
| Type | Description |
|---|---|
| NumericOptions |
A NumericOptions object that contains specific settings for displaying numeric values.
|
The ValueNumericOptions property provides access to specific settings (in particular, the NumericOptions.Format and NumericOptions.Precision) which define how numeric values of series points are represented within series labels when the PointOptions.PointView property is set to either the PointView.Values or PointView.ArgumentAndValues value.
Note that point values can take numeric values within a series only when the series’s Series.ValueScaleType property is set to the ScaleType.Numerical value.
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 ValueNumericOptions property.
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.
wpf-data-grid-display-chart-control-in-grid-details/CS/WpfApplication19/MainWindow.xaml#L26
<dxc:PointOptions>
<dxc:PointOptions.ValueNumericOptions>
<dxc:NumericOptions Format="Percent" Precision="0"/>
wpf-data-grid-create-master-detail-grid-in-code/CS/MasterDetailInCode/MainWindow.xaml#L23
<dxc:PointOptions>
<dxc:PointOptions.ValueNumericOptions>
<dxc:NumericOptions Format="Percent" Precision="0"/>
See Also