Skip to content

Latest commit

 

History

History
53 lines (30 loc) · 1.11 KB

Project.chart.gapdepth.md

File metadata and controls

53 lines (30 loc) · 1.11 KB
title ms.service ms.assetid ms.date ms.localizationpriority
Chart.GapDepth property (Project)
project-server
22b3c702-6b1e-140b-13a7-04b6cd4bdab2
06/08/2017
medium

Chart.GapDepth property (Project)

Gets or sets the distance between the data series in a 3D chart, as a percentage of the marker width. Read/write Long.

Syntax

expression.GapDepth

expression A variable that represents a Chart object.

Remarks

The value of the GapDepth property must be between 0 and 500. The GapDepth property fails on 2D charts.

Example

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

Property value

INT

See also

Chart Object

[!includeSupport and feedback]