excel_add_chart
Writes chart data to a specific cell in an Excel worksheet, including categories and series, so you can create the chart manually in Excel.
Instructions
写入图表数据到指定位置(exceljs 不支持直接创建图表对象,数据写入后可在 Excel 中手动创建图表)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 图表标题 | |
| series | Yes | 数据系列 | |
| position | No | 图表位置,如 F2 | |
| chartType | Yes | 图表类型 | |
| sheetName | Yes | 工作表名称 | |
| categories | Yes | 分类标签 | |
| workbookId | Yes | 工作簿ID |