Skip to main content

PercentOptions.PercentageAccuracy Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

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
FullStackedPointOptions
.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