Skip to main content

NestedDoughnutSeriesView.Weight Property

Specifies the nested doughnut’s size, in respect to the sizes of other nested doughnuts.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double Weight { get; set; }

Property Value

Type Description
Double

A Double value.

Remarks

Use the Weight property to specify the size of a nested doughnut in relation to other nested doughnuts.

((NestedDoughnutSeriesView)series1.View).Weight = 1;

((NestedDoughnutSeriesView)series2.View).Weight = 1;

((NestedDoughnutSeriesView)series3.View).Weight = 1;

((NestedDoughnutSeriesView)series1.View).Weight = 4;

((NestedDoughnutSeriesView)series2.View).Weight = 6;

((NestedDoughnutSeriesView)series3.View).Weight = 8;

NestedDoughnutDefaultWeight

NestedDoughnutWeight_4_6_8

To learn more on Nested Doughnut series, see the Nested Doughnut Chart topic.

See Also