Muokkaa

Jaa


ChartGroup.FirstSliceAngle property (Excel)

Returns or sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). Applies only to pie, 3D pie, and doughnut charts. Can be a value from 0 through 360. Read/write Long.

Syntax

expression.FirstSliceAngle

expression A variable that represents a ChartGroup object.

Example

This example sets the angle for the first slice in chart group one on Chart1. The example should be run on a 2D pie chart.

Charts("Chart1").ChartGroups(1).FirstSliceAngle = 15

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.