Add3DFloatingBar Method

The Add3DFloatingBar method adds a 3D XYY floating bar chart to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an Auto3DFloatingBar object.

Syntax

object.Add3DFloatingBar( worksheet, xCol, yCol1, yCol2, xAxis, yAxis, id )

 

Parameter Type Description
worksheet String required, the 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

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

Example

This example shows how to add a 3D XYY floating bar chart to an existing 3D ribbon/wall graph.

 

Dim Graph2 As Object

Set Graph2 = Shapes.Add3DLinePlotGraph(GrapherApp.Path + "\samples\bar chart orientations.dat")

Graph2.Add3DFloatingBar(GrapherApp.Path + "\samples\bar chart orientations.dat")

 

Used by: AutoGraph object

See Also

Add3DFloatingBarGraph