AddFloatingBarGraph Method

The AddFloatingBarGraph method creates a new 2D floating bar chart. Returns an AutoGraph object.

Syntax

object.AddFloatingBarGraph( worksheet, xCol, yCol1, yCol2, id )

 

Parameter Type Description
worksheet String required, full path and file name of the data
xCol Variant optional, default = 1 (column A)
yCol1 Variant optional, default = 2 (column B)
yCol2 Variant optional, default = 3 (column C)
id Variant optional, graph name

 

Example

This example shows how to create a floating bar chart.

Shapes.AddFloatingBarGraph(GrapherApp.Path + "\samples\bar chart orientations.dat")

 

Used by: AutoShapes collection

See Also

AutoFloatingBar object

AddFloatingBar