Region in UWP Sunburst Chart (SfSunburstChart)

14 Jul 20261 minute to read

Sunburst region represents the entire chart and all its elements. It includes all the chart elements like Legend, DataLabel, Levels etc. It has the following major properties:

ItemsSource – Gets or sets the IEnumerable values used to generate the chart.

ValueMemberPath – Gets or Sets the property path of the value.

Legend – Gets or Sets the legend for the chart.

Levels – Gets or Sets the collection of hierarchical level for the chart.

DataLabels – Gets or Sets the collection of DataLabels for the chart.

Behaviors – Gets or Sets the collection of behavior for the chart.

Start and end angle

You can change the start and end angle of Sunburst chart using StartAngle and EndAngle property as shown in below code

<sunburst:SfSunburstChart StartAngle="180"
                          EndAngle="360">
</sunburst:SfSunburstChart>
sunburstChart.StartAngle = 180;
sunburstChart.EndAngle = 360;

Region_img1

Sunburst radius

Sunburst chart allows you to customize the sunburst radius by using Radius property. The default value of this property is 0.9 and the value ranges from 0 to 1.

<sunburst:SfSunburstChart Radius="0.6">
</sunburst:SfSunburstChart>
chart.Radius = 0.6;

Region_img2

Sunburst inner radius

Sunburst chart allows you to customize the inner radius using InnerRadius property. The default value of this property is 0.2 and the value ranges from 0 to 1.

<sunburst:SfSunburstChart InnerRadius="0.5">
</sunburst:SfSunburstChart>
chart.InnerRadius = 0.5;

Region_img3