I needed to add a new row. I found an example like showing below. Which one of the following arguments is for subplot? It must be one of the "1"s, but the user manual didn't say.
newRow = [name, tagPath, "MinMax", axis, 1, 1, system.gui.color(255, 85, 85, 255), "", 1, 1, 0, 1, 0, "", 0, 0, 0, 1, 0, 1]
The tag pens dataset has the following columns:
"NAME",
"TAG_PATH",
"AGGREGATION_MODE",
"AXIS",
"SUBPLOT",
"ENABLED",
"COLOR",
"DASH_PATTERN",
"RENDER_STYLE",
"LINE_WEIGHT",
"SHAPE",
"FILL_SHAPE",
"LABELS",
"GROUP_NAME",
"DIGITAL",
"OVERRIDE_AUTOCOLOR",
"HIDDEN",
"USER_SELECTABLE",
"SORT_ORDER",
"USER_REMOVABLE"
You can scroll into the chart properties, then open the dataset editor dialog:
And then either read the column headings directly from the editor, or, because there's so many, copy the dataset to clipboard which gives you the list of column names I posted above:
Thanks a lot!