add_chart_series
Add a new series to a named chart. Specify value field and optionally series type for combo charts. Refuses duplicate series names.
Instructions
Append a new to a named chart. value_field is the dataset field whose Sum becomes the Y expression (=Sum(Fields!<value_field>.Value)). series_type defaults to Column; combine series of different types in one chart for combo charts (e.g. Bar + Line). series_subtype defaults to Plain. Refuses if series_name already exists.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"chart_name": "<chart_name>",
"series_name": "<series_name>",
"value_field": "<value_field>"
},
"name": "add_chart_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| chart_name | Yes | ||
| series_name | Yes | ||
| series_type | No | Column / Bar / Line / Area / Pie / Doughnut / Range / Scatter / Bubble / Stock / Polar / Radar / Funnel / Pyramid | |
| value_field | Yes | ||
| series_subtype | No | Plain / Stacked / PercentStacked / Smooth / Exploded / SmoothLine / 100 / Line / Spline |