Bewerken

Delen via


Chart.GapDepth property (Excel)

Returns or sets the distance between the data series in a 3D chart as a percentage of the marker width. The value of this property must be between 0 and 500. Read/write Long.

Syntax

expression.GapDepth

expression A variable that represents a Chart object.

Example

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

Charts("Chart1").GapDepth = 200

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.