AddLinePlotGraph Methods

The AddLinePlotGraph method creates a new 2D line/scatter plot. Returns an AutoGraph object.

Syntax

object.AddLinePlotGraph( 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 line graph.

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

 

Used by: AutoShapes collection

See Also

AutoLinePlot object

AddLinePlot