[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.FirstSliceAngle

FirstSliceAngle Property

FirstSliceAngle

Gets or sets the angle of the first pie-chart or doughnut-chart slice in degrees.

Declaration
int FirstSliceAngle { get; set; }
Property FirstSliceAngle As Integer
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Category", "Value"}, {"A", 30}, {"B", 70}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.Doughnut, 20, 20, 300, 200);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
shape.Chart.ChartGroups[0].FirstSliceAngle = 45;
int angle = shape.Chart.ChartGroups[0].FirstSliceAngle;