Skip to main content

DxPieChart<T>.Diameter Property

Specifies a value used to calculate the Pie Chart’s outer diameter.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public double? Diameter { get; set; }

Property Value

Type Default Description
Nullable<Double> null

A value between 0 and 1 that specifies the ratio of the Pie Chart’s diameter to the chart area’s smaller side.

Remarks

The Diameter property accepts a value between 0 and 1 that specifies the ratio of the Pie’s diameter to the chart area’s width or height, whichever is less.

Specify the MinDiameter property to define the minimum size of the Pie and limit the space that labels with Outside position occupy.

Specify the InnerDiameter property to create a Donut.

Run Demo: Pie Chart

See Also