Add Chart Series
add_seriesAdd a data series to an existing Excel chart by specifying the series range and optional legend label. Extend charts with additional data without rebuilding them.
Instructions
Add a data series to a chart.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). chart_name: Chart to add the series to (required). series_range: A1-style address of the series' values, e.g. "D2:D10" (required). series_name: Legend label for the series (None = Excel's default).
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| workbook | No | ||
| chart_name | No | ||
| series_name | No | ||
| series_range | No |