title | ms.service | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|---|
Chart.GapDepth property (Project) |
project-server |
22b3c702-6b1e-140b-13a7-04b6cd4bdab2 |
06/08/2017 |
medium |
Gets or sets the distance between the data series in a 3D chart, as a percentage of the marker width. Read/write Long.
expression.GapDepth
expression A variable that represents a Chart object.
The value of the GapDepth property must be between 0 and 500. The GapDepth property fails on 2D charts.
The following example sets the distance between the data series in the chart to 200 percent of the marker width. The example should be run on a 3D chart.
Sub SetGapDepth()
Dim chartShape As Shape
Dim reportName As String
reportName = "Simple 3D chart"
Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
chartShape.Chart.GapDepth = 200
End Sub
INT
[!includeSupport and feedback]