FirstSliceAngle Property

Microsoft Office Web Components Visual Basic

Returns or sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). Applies only to pie and doughnut charts. Read/write Long.

expression.FirstSliceAngle

expression    Required. An expression that returns a ChChart object.

Example

This example sets the angle of the first pie-chart or doughnut-chart slice to 45 degrees. Charts(0) must refer to a pie or doughnut chart.

ChartSpace1.Charts(0).FirstSliceAngle = 45