DoughnutGroups Method

Applies To

Chart Object.

Description

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

Syntax 1

object.DoughnutGroups(index)

Syntax 2

object.DoughnutGroups

object

Required. The Chart object.

index

Required for Syntax 1. Specifies the chart group.

Example

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


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