[]
Gets or sets the size of the hole in a doughnut chart group.
The hole size is expressed as a percentage of the chart size, from 10 to 90.
int DoughnutHoleSize { get; set; }
Property DoughnutHoleSize As Integer
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"]);
IChartGroup doughnutGroup = chart.DoughnutGroups[0];
int holeSize = doughnutGroup.DoughnutHoleSize;