Syntax

expression.GapDepth

expression A variable that represents a Chart object.

Example

This example sets the distance between the data series in Chart1 to 200 percent of the marker width. The example should be run on a 3-D chart (the GapDepth property fails on 2-D charts).

Visual Basic for Applications
Charts("Chart1").GapDepth = 200
Decrease spacing of dataseries for 3d graph? gap gap depth Gap Depth Property GapDepth GapDepth Property Modify distance between bars on a 3d bar graph?

See also: