public addChart(options as Map<String, Object>) as Chart:
Creates a chart owned by this workbook.
| Parameter | Description |
|---|---|
options | Chart options such as {"type": "line"}. |
New chart.
chart = workbook.addChart({"type": "line"})
chart.addSeries({"values": "=Data!$A$1:$A$6"})