PieGroups Method
On a 2-D chart, returns an object that represents either a single pie chart group or a collection of the pie chart groups.
expression.PieGroups(Index)
*expression * Required. An expression that returns one of the objects in the Applies To list.
Index Optional Variant. Specifies the chart group.
Example
This example sets pie group one to use a different color for each data marker. The example should be run on a 2-D chart.
myChart.PieGroups(1).VaryByCategories = True
Applies to | Chart Object
See Also | AreaGroups Method | BarGroups Method | ChartGroups Method | ColumnGroups Method | DoughnutGroups Method | LineGroups Method | Pie3DGroup Property