AddBarChartGraph Method
The AddBarChartGraph method creates a new 2D bar chart. Returns an AutoGraph object.
Syntax
object.AddBarChartGraph( worksheet, xCol, yCol, id )
Parameter | Type | Description |
worksheet | String | required, full path and file name of the data |
xCol | Variant | optional, default = 1 (column A) |
yCol | Variant | optional, default = 2 (column B) |
id | Variant | optional, graph name |
Example
This example shows how to create a bar chart.
Shapes.AddBarChartGraph(GrapherApp.Path + "\samples\sample4.dat")
Used by: AutoShapes collection