GapWidth Property

Applies To

ChartGroup object.

Description

Bar and Column charts: Returns or sets the space between bar or column clusters, as a percentage of the bar or column width. The value of this property must be between 0 and 500. Read/write Long.

Pie of Pie and Bar of Pie charts: Returns or sets the space between the primary and secondary sections of the specified chart. The value of this property must be between 5 and 200. Read/write Long.

See Also

Overlap property.

Example

This example sets the space between column clusters to be 50 percent of the column width.

myChart.ChartGroups(1).GapWidth = 50