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

PercentOptions.PercentageAccuracy Property

Gets or sets the percentage accuracy, when the PercentOptions.ValueAsPercent property is enabled.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

[XtraSerializableProperty]
public int PercentageAccuracy { get; set; }

Property Value

Type Description
Int32

An integer value which specifies the number of decimal places used in the percentage display.

Property Paths

You can access this nested property as listed below:

Object Type Path to PercentageAccuracy
FullStackedAreaPointOptions
.PercentOptions.PercentageAccuracy
FullStackedBarPointOptions
.PercentOptions.PercentageAccuracy
FullStackedLinePointOptions
.PercentOptions.PercentageAccuracy
FullStackedPointOptions
.PercentOptions.PercentageAccuracy
FunnelPointOptions
.PercentOptions.PercentageAccuracy
PiePointOptions
.PercentOptions.PercentageAccuracy
SimplePointOptions
.PercentOptions.PercentageAccuracy

Remarks

Use the PercentageAccuracy property to specify the overall precision of the percentage value calculation for series point labels, when the PercentOptions.ValueAsPercent property is enabled.

The default value is 2, indicating two decimal places.

See Also