[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeries.Explosion

Explosion Property

Explosion

Gets or sets the explosion value for the slices in a pie or doughnut series.

Returns 0 if the slices are not exploded and the tip of each slice remains at the center of the pie.

Declaration
int Explosion { get; set; }
Property Explosion As Integer
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"Category", "Value"}, {"A", 30}, {"B", 20}, {"C", 50}};
IChart chart = worksheet.Shapes.AddChart(ChartType.Pie, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
ISeries series = chart.SeriesCollection[0];
int explosion = series.Explosion;