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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| workbook | No | ||
| chart_name | No | ||
| series_name | No | ||
| series_range | No |