See SET GRAPH for the SET commands and GRAPH Item Attributes for a list of attributes.
NEW GRAPH name inputs display row [col] [/Sync|Async] [ /G ] [ /C ]
Create a graph item to be displayed in the row row and column col of the display item display and create input number of Y data inputs. A function defining the data source and the drawing format can be assigned to each Y input. The options control if multiple inputs are displayed synchronously or asynchronously (/Sync|Async).
The unique name identifying this graph.
The number of (Y-data) inputs of the graph, an X input is always added.
The display item name where the graph will be displayed.
The location of graph in display (zero based indexes, 0/0 = top/left).
Garbage collection. If specified, the item is automatically deleted when exiting the macro.
The /C option can be used to turn one-click range selection functionality on or off. By default, one-click range selection is on.