[]
Gets the collection of doughnut chart groups on a 2D chart.
Use this property to access the IChartGroups collection for the doughnut chart groups in the current chart.
IChartGroups DoughnutGroups { get; }
ReadOnly Property DoughnutGroups As IChartGroups
worksheet.Range["A1:B4"].Value = new object[,] {
{"Category", "Sales"},
{"North", 10},
{"South", 20},
{"West", 15}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Doughnut, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IChartGroups doughnutGroups = chart.DoughnutGroups;
IChartGroup doughnutGroup = doughnutGroups[0];