AddFloatingBar Method

The AddFloatingBar method adds a 2D floating bar chart to an existing 2D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoFloatingBar object.

Syntax

object.AddFloatingBar( worksheet, xCol, yCol1, yCol2, xAxis, yAxis, 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, chart name

 

Remarks

2D graphs can only be added to other 2D graphs.

Example

This example shows how to add a floating bar chart.

Graph1.AddFloatingBar(GrapherApp.Path + "\samples\bar chart orientations.dat")

 

Used by: AutoGraph object

See Also

AddFloatingBarGraph