Auto3DDoughnutPlot Object

The Auto3DDoughnutPlot object controls 3D Doughnut Plot settings.

 

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

 

Properties

HolePercent

Shape

Sides

Segments

 

Example

The following script demonstrates how the Auto3DDoughnutPlot 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 Doughnut Plot graph And assigns it To the variable Name "DoughnutPlot1"

Set DoughnutPlot1 = Plot.Shapes.Add3DDoughnutPlot(GrapherApp.Path + "\samples\doughnutplot.dat")

 

End Sub