AddWindChart Method

The AddWindChart method adds a 2D wind chart to an existing 2D polar-type graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoWindChart object.

Syntax

object.AddWindChart( worksheet, dataCol, speedCol, binSize, id )

 

Parameter Type Description
worksheet String required, full path and file name of the data
dataCol Variant optional, default = 1 (column A)
speedCol Variant optional, default = 2 (column B)
binSize Variant optional, default = 5
id Variant optional, chart name

 

Remarks

A wind chart can be added to other polar-type plots, such as rose diagrams.

Example

This example shows how to add a wind chart to an existing polar function graph.

Dim Graph3 As Object

Set Graph3 = Shapes.AddPolarFunctionGraph( False, "2+a",,0,360)

Graph3.AddWindChart(GrapherApp.Path + "\samples\winddata.txt", 4, 3, 5)

 

Used by: AutoGraph object

See Also

AddWindChartGraph