[]
Gets or sets the size of the secondary section of either a Pie of Pie chart or a Bar of Pie chart, as a percentage of the size of the primary pie.
This property applies to Pie of Pie charts and Bar of Pie charts. The returned value is between 5 and 200.
int SecondPlotSize { get; set; }
Property SecondPlotSize As Integer
worksheet.Range["A1:B4"].Value = new object[,] {
{"Name", "Sales"},
{"East", 35},
{"West", 25},
{"North", 40}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.BarOfPie, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
IChartGroup chartGroup = chart.ChartGroups[0];
int secondPlotSize = chartGroup.SecondPlotSize;