AddPolarBarChart Method

The AddPolarBarChart method adds a new 2D polar bar chart to an existing 2D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoPolarBarChart object.

Syntax

object.AddPolarBarChart( worksheet, rCol, aCol, id )

 

Parameter Type Description
worksheet String required, data's full path and file name
rCol Variant optional, default = 1 (column A)
aCol Variant optional, default = 2 (column B)
id Variant optional, chart name

 

Remarks

A polar plot can be added to other polar-type plots such as rose diagrams.

Example

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

'Add a new polar bar chart graph

Set Graph = Shapes.AddPolarBarChartGraph(GrapherApp.Path + "\samples\polar bars.dat")

 

'Add another polar bar chart

Graph.AddPolarBarChart (GrapherApp.Path + "\samples\polar bars.dat", 1, 3)

 

Used by: AutoGraph object

See Also

AddPolarBarChartGraph