Auto3DAxis Object

The Auto3DAxis object controls the 3D axis properties for 3D graphs.

Derived from: AutoAxis object (All methods and properties of AutoAxis apply to this object.)

Properties

AngledLabels

AngledTitle

Fill

LinesAtMajorTicks

LinesAtMinorTicks

MajorTickLine

MinorTickLine

Example

The following script demonstrates how the Auto3DAxis 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 new 3D graph and assigns it to the variable name “Graph”

Set Graph = Plot.Shapes.Add3DLinePlotGraph(GrapherApp.Path + "\Samples\bar chart orientations.dat",1,2)

 

'Declares Axis as an Object

Dim Axis as Object

 

'Assigns the X Axis to the variable named Axis

Set Axis = Graph.Axes.Item(1)

 

End Sub