edit_slide_chart
Create column, bar, line, pie, doughnut, or area charts on a slide from structured categories and series, with automatic OOXML generation and options for positioning, legends, labels, and stacking.
Instructions
Create a chart on a slide from structured data. Generates all OOXML automatically (chart XML, rels, graphic frame, Content_Types). Supports column, bar, line, pie, doughnut, and area charts with multiple series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Chart title | |
| series | Yes | Data series | |
| options | No | Chart options | |
| position | No | Chart position in points. Defaults to centered on slide. | |
| chartType | Yes | Chart type | |
| categories | Yes | Category labels (x-axis or pie slices) | |
| slideIndex | Yes | Zero-based slide index | |
| presentationId | No | Target presentation ID from list_presentations. Optional when only one presentation is connected. |