AutoRoseDiagram Object

The AutoRoseDiagram object controls the rose diagram settings.

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

Properties

AutoBin

BiDirectional

BinSize

DataCol

DeleteAllBins

Error

ErrorFill

ErrorLine

Fill

Line

Methods

AddBin

DeleteBin

Example

This example shows how to use the AutoRoseDiagram object.

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 plot document in Grapher and

 'assigns it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Shapes as an object

  Dim Shapes As Object

 

 'Assigns the AutoShapes collection to the

 'variable named "Shapes"

  Set Shapes = Plot.Shapes

 

 'Declares Graph1 as an object

  Dim Graph1 As Object

 

 'Creates a graph and assigns it to the

 'variable named "Graph1"

  Set Graph1 = Shapes.AddRoseDiagramGraph(GrapherApp.Path+"\

 

 'Declare RosePlot as an object

  Dim RosePlot As Object

 

 'Set RosePlot to the first plot on the Graph1 graph

  Set RosePlot = Graph1.Plots.Item(1)

 

End Sub