Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPieChart<T>.Diameter Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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