create_excel_chart
Create bar, line, pie, or column charts in Excel files. Specify chart type, title, and data to generate charts programmatically.
Instructions
Create a chart (bar, line, pie, column) in an Excel file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Chart title | |
| file_name | No | Output file name | |
| file_path | No | Path to existing XLSX to add chart to | |
| chart_type | Yes | Chart type: bar, column, line, pie | |
| sheet_name | No | Sheet name | Sheet1 |
| inline_data | No | Data rows including header (e.g. [['Month','Sales'],['Jan',100]]) | |
| output_path | No | Save to path | |
| chart_position | No | Cell to place chart (e.g. 'E2') | E2 |
| data_end_column | No | Last data column (None=same as start) | |
| categories_column | No | Column for categories (1-based) | |
| data_start_column | No | First data column (1-based) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |