Auto3DPieChart Object
The Auto3DPieChart object controls 3D XYY pie chart settings.
Derived from: AutoPieChart object (All methods and properties of AutoPieChart apply to this object.)
Properties
Methods
Example
The following script demonstrates how the Auto3DPieChart 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 pie chart graph And assigns it To the variable Name "Pie1"
Set Pie1 = Plot.Shapes.Add3DPieChart(GrapherApp.Path + "\samples\pie.dat")
End Sub