Skip to main content

PercentOptions.ValueAsPercent Property

Gets or sets a value that specifies whether point values are represented as a percentage.

Namespace: DevExpress.Xpf.Charts

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


public bool ValueAsPercent { get; set; }

Property Value

Type Description

true if point values are represented as a percentage; false if they are represented as is.


Use the ValueAsPercent property to control whether the data values of a series’ data points are represented as percentages, for the series types which support percentages (e.g. 2D Pie or 2D Full-Stacked Area).

By default, this property is set to true, and the values of the data points within a series are shown as percents. This means that the value displayed for each point, is its value expressed as a percentage of the total of all the values in the series. If you need to indicate data points by their real values, set the ValueAsPercent property to false.

The precision of percentage values can be specified by the PercentOptions.PercentageAccuracy property, in effect when the ValueAsPercent is set to true.


In order to display percentages, you can set the NumericOptions.Format property to the NumericFormat.Percent value.

See Also