A newer version of this page is available. Switch to the current version.

BootstrapPieChart.Diameter Property

Specifies the ratio of the Pie Chart diameter to the smallest widget's side length.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll


[DefaultValue(typeof(decimal), "1")]
[Range(typeof(decimal), "0", "1")]
public decimal Diameter { get; set; }
<DefaultValue(GetType(Decimal), "1")>
<Range(GetType(Decimal), "0", "1")>
Public Property Diameter As Decimal

Property Value

Type Default Description


A value defining the pie diameter.


This option accepts a number that identifies the ratio between the pie's diameter and the widget's width or height (depending on which of them is less). For example, assume that the widget's size is 300x500 pixels and the Diameter option is set to 0.5. Then, the resulting diameter of the pie will be:0.5 * min(300,500) = 0.5 * 300 = 150 pixels

See Also