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
Methods
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