Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1006 Bytes

Excel.ChartGroup.GapWidth.md

File metadata and controls

44 lines (25 loc) · 1006 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ChartGroup.GapWidth property (Excel)
vbaxl10.chm568078
vbaxl10.chm568078
Excel.ChartGroup.GapWidth
2bf93d07-9181-f43c-5a0f-9350fc1ebd62
04/20/2019
medium

ChartGroup.GapWidth property (Excel)

Bar and Column charts: Returns or sets the space between bar or column clusters, as a percentage of the bar or column width.

Pie of Pie and Bar of Pie charts: Returns or sets the space between the primary and secondary sections of the chart. Read/write Long.

Syntax

expression.GapWidth

expression A variable that represents a ChartGroup object.

Remarks

The value of this property must be between 0 and 500.

Example

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

Charts("Chart1").ChartGroups(1).GapWidth = 50

[!includeSupport and feedback]