Applies to

Graph controls


For 3-D graphs, specifies the depth of the graph as a percentage of its width. The default is 100 percent.


In a painter

To set the Depth property:

  1. Display the General page of the graph control's Properties view.

  2. Select a 3-D type of graph from the GraphType drop-down list.

  3. Use the Depth slider control to set the Depth to the desired percentage of width.

In scripts

The Depth property takes an integer. This example specifies that the depth of the graph is 50% of its width:

gr_1.Depth = 50