AutoWindChart Object

The AutoWindChart object contains the wind chart options.

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

Properties

ArcSize

ArcSizeAuto

DisplayAsFreq

DisplayAsPercent

DisplayLegend

SpeedCol

StartAt

Methods

AddSpeedBin

DeleteAllSpeedBins

DeleteSpeedBin

SpeedBinFill

Example

This example shows how to access the AutoWindChart 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 Graph1 as an object

 Dim Graph1 As Object

 

'Creates a graph and assigns it to the variable named "Graph1"

 Set Graph1 = Plot.Shapes.AddWindChartGraph(GrapherApp.Path+ _

 "\samples\winddata.dat")

 

'Declares WindChart as an object

 Dim WindChart As Object

 

'Set WindChart to the first plot on the Graph1 graph

 Set WindChart = Graph1.Plots.Item(1)

 

End Sub