AddRoseDiagramGraph Method
The AddRoseDiagramGraph method creates a 2D rose diagram. Returns an AutoGraph object.
Syntax
object.AddRoseDiagramGraph( worksheet, dataCol, binSize, id )
Parameter | Type | Description |
worksheet | String | required, full path and file name of the data |
dataCol | Variant | optional, default = 1 (column A) |
binSize | Variant | optional, default = 5 |
id | Variant | optional, graph name |
Example 1
This example shows how to create a rose diagram.
Shapes.AddRoseDiagramGraph(GrapherApp.Path + "\
Example 2
This example shows how to create a rose diagram.
Sub Main
'Create Grapher as an Object
Dim Grapher As Object
'Start Grapher
Set Grapher = CreateObject("Grapher.Application")
Grapher.Visible = True
'Create a new document window
Set Plot = Grapher.Documents.Add(grfPlotDoc)
'Create rose diagram graph
Set RoseDiagram = Plot.Shapes.AddRoseDiagramGraph("C:\Program Files\Golden Software\ _
Grapher 15\Samples\RoseData.dat",1,5)
End Sub
Used by: AutoShapes collection