This article explains how to create a sunburst chart in Excel using XlsIO.
What is a sunburst chart?
Sunburst provides a hierarchical view of data where each level of the hierarchy is represented by one ring or circle with the innermost circle as the top of the hierarchy.
Sunburst chart created using XlsIO
To create a sunburst chart in Excel using XlsIO, you need to do the following steps.
Steps to create sunburst chart
Create a chart object by calling the worksheet.Charts.Add method and specify the chart type to ExcelChartType.SunBurst enum value.
Set a range of data from the worksheet to chart’s DataRange property. To plot the series values in column and categories in row, set chart’s IsSeriesInRows property to false.
Add the basic elements like chart title, data labels and legend with the below list of properties.
Applicable properties of sunburst chart
The following C#/ VB.NET complete code snippet shows the creation of sunburst chart using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|