AddRadarGraph Method

The AddRadarGraph method creates a new radar graph. Returns an AutoRadarGraph object.

Syntax

object.AddRadarGraph( worksheet,Columns, id )

Parameter Type Description
worksheet String required, data's full path and file name
Columns Variant required, array of column index numbers
id Variant optional, graph ID name

 

Remarks

See Columns Property for more detail on the Columns parameter

Example

This example shows how to add a three-axis radar graph to the existing plot named “Radar Graph 1”

'Declares a array of long integers with three indices

Dim Array1(3) As Long

 

'Assigns a number representing a worksheet column to each index

Array1(0) = 2

Array1(1) = 3

Array1(2) = 4

 

'Declares RadarGraph as an object

Dim RadarGraph As Object

 

'Creates the Radar Graph

Set RadarGraph = Plot.Shapes.AddRadarGraph(GrapherApp.Path+"\samples\Tutorial.dat",Array1)

 

Used by: AutoShapes collection