Version Ref: 6.1 (USP 6.0.02)
Syntax:
e = XL_SERIES2(chartnum, sheet, namecell, cfirst, clast, vfirst, vlast)
Add a series to a chart or chartsheet.
Parameters -
chartnum : Handle to a chart or chartsheet to add series.
sheet : Handle to sheet to get values from. Use blank, "0", or "-1"
to use the default sheet.
namecell : Series name Excel style cell. e.g. "A1" "D6" "F6".
cfirst : Categories first Excel style cell. e.g. "A1" "D6" "F6".
clast : Categories last Excel style cell. e.g. "A1" "D6" "F6".
vfirst : Values first Excel style cell. e.g. "A1" "D6" "F6".
vlast : Values last Excel style cell. e.g. "A1" "D6" "F6".
Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
the last error.