AddClassPlot Method
The AddClassPlot method adds a 2D class plot to an existing 2D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoClassPlot object.
Syntax
object.AddClassPlot( worksheet, xCol, yCol, classCol, xAxis, yAxis, id )
Parameter | Type | Description |
worksheet | string | required |
xCol | variant | optional, default = 1 (column A) |
yCol | variant | optional, default = 2 (column B) |
classCol | variant | optional, default = 3 (column C) |
xAxis | variant | optional, id of X axis to use for plot (default = uses first X axis in graph) |
yAxis | variant | optional, id of Y axis to use for plot (default = uses first Y axis in graph) |
id | variant | optional, plot name |
Used by: AutoGraph object