Update a chart
update_chartModify an existing Google Sheets chart's title, type, data range, stacking, position, or size. Only the fields you provide are changed.
Instructions
Change an existing chart: its title, type, data range, stacking, position or size. Only the options you give are changed. Chart ids come from get_spreadsheet_info or add_chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| width | No | Pixels | |
| height | No | Pixels | |
| account | No | Google account to use: an email or unique part of one (e.g. "acme.com"). Default: the account that can open the spreadsheet, else the default account. | |
| stacked | No | ||
| chart_id | Yes | ||
| chart_type | No | ||
| data_range | No | New data, laid out as for add_chart: first column labels, then one column per series | |
| has_header | No | Used with data_range | |
| anchor_cell | No | Move the chart's top-left corner here, e.g. "Sales!F2" | |
| spreadsheet | Yes | Google Sheets link or spreadsheet ID. The name of a spreadsheet used with Sheets MCP before also works |