Auto3DView Object

The Auto3DView object controls the 3D properties for 3D graphs.

Properties

AngledLabels

Depth

Fill (not used with 3D XYY bar charts, 3D XYZ bar charts, 3D XYY floating bar charts, and 3D XYY histograms)

LineStep

Position

Example

The following script demonstrates how the Auto3DView object is used.

Sub Main

'Declares GrapherApp as an Object

Dim GrapherApp As Object

 

'Creates an instance of the Grapher Application object

 'and assigns it to the variable named "GrapherApp"

Set GrapherApp = CreateObject("Grapher.Application")

 

'Makes Grapher visible

 GrapherApp.Visible = True

 

'Declares Plot as an object

 Dim Plot As Object

 

'Creates a new document window named “Plot”

Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

'Creates a 3D XYZ line/scatter plot

Set Graph = Plot.Shapes.AddXYZPlotGraph("C:\Program Files\Golden Software\Grapher\Samples\DEMOGRID.DAT",1,2,3)

 

'Sets the Line/Scatter Plot to the LinePlot object

Set LinePlot = Graph.Plots.Item(1)

 

'Sets the 3DView to the View3D object

Set View3D = LinePlot.View3D

End Sub