DoughnutGroups Method

Microsoft Excel Visual Basic

DoughnutGroups Method

       

On a 2-D chart, returns an object that represents either a single doughnut chart group (a ChartGroup object) or a collection of the doughnut chart groups (a ChartGroups collection).

expression.DoughnutGroups(Index)

expression   Required. An expression that returns a Chart object.

Index   Optional Variant. Specifies the chart group.

Example

This example sets the starting angle for doughnut group one in Chart1.

Charts("Chart1").DoughnutGroups(1).FirstSliceAngle = 45