Auto3DFloatingBar Object

The Auto3DFloatingBar object controls the 3D XYY floating bar chart settings.

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

Properties

BarSlices

BarStacks

View3D

Example

The following script demonstrates how the Auto3DFloatingBar 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.Add3DFloatingBarGraph(GrapherApp.Path + "\Samples\floating.dat",2,3,4)

 

'Assigns the floating bar to the variable named "Floating1"

Set Floating1 = Graph.Plots(1)

 

End Sub