Back to Devexpress

NestedDoughnutSeriesView.Weight Property

corelibraries-devexpress-dot-xtracharts-dot-nesteddoughnutseriesview-9041cdd1.md

latest2.1 KB
Original Source

NestedDoughnutSeriesView.Weight Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double Weight { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property Weight As Double

Property Value

TypeDescription
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;

| | --- | --- | |

|

|

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

See Also

NestedDoughnutSeriesView Class

NestedDoughnutSeriesView Members

DevExpress.XtraCharts Namespace