update_chart_data
Replace chart data on a PowerPoint slide with new categories and series. Provide slide and shape indices, then pass updated category names and series values to refresh the chart.
Instructions
Replace existing chart data with new categories and series.
Args: slide_index: Index of the slide (0-based) shape_index: Index of the chart shape (0-based) categories: List of category names series_data: List of dictionaries with 'name' and 'values' keys presentation_id: Optional presentation ID (uses current if not provided)
Returns: Dictionary with operation results
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | Yes | ||
| series_data | Yes | ||
| shape_index | Yes | ||
| slide_index | Yes | ||
| presentation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |