AutoPolarBarChart Object

The AutoPolarBarChart object controls polar bar chart settings.

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

Properties

ACol

AngleWidth

AutoAngleWidth

BarWidth

ColorCol

DirectionCol

Fill

Labels

Line

RCol

RepeatColors

Stacked

UseColorTable

 

Methods

LoadColorTable

Example

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

 Dim PolarBarChartGraph As Object

 

'Creates a graph and assigns it to the

'variable named "PolarBarChartGraph"

 Set PolarBarChartGraph = Shapes.AddPolarBarChartGraph(GrapherApp.Path+ _

 "\samples\winddata.dat")

 

'Declare PolarBarChart as an object

 Dim PolarBarChart As Object

 

'Set PolarBarChart to the first line plot on

'the PolarBarChartGraph graph

 Set PolarBarChart = PolarBarChartGraph.Plots.Item(1)

End Sub