BarGroups Method

Microsoft Graph Visual Basic

expression.BarGroups(Index)

expression    Required. An expression that returns one of the objects in the Applies To list.

Index    Optional Variant. The index number of the specified bar chart group.

Example

This example sets the space between bar clusters in the 2-D bar chart group to be 50 percent of the bar width.

myChart.BarGroups(1).GapWidth = 50