Set Chart Type
set_chart_typeChange an existing Excel chart's type to column, bar, line, pie, area, scatter, or doughnut by specifying the chart name and target type.
Instructions
Change a chart's type.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). chart_name: Chart to change (required). chart_type: One of "column_clustered", "bar_clustered", "line", "pie", "area", "scatter", "doughnut".
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| workbook | No | ||
| chart_name | No | ||
| chart_type | No | column_clustered |