旭日图生成器
生成层级旭日图,支持极坐标系统和径向布局
API 文档
请求端点
POST /zh/api/tools/sunburst-chart-generator
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| chartData | textarea | 是 | 旭日图的层级JSON格式数据 |
| chartTitle | text | 否 | 图表上方显示的标题 |
| colorScheme | select | 否 | 层级扇段的配色方案 |
| maxDepth | range | 否 | 要显示的最大层级数 |
| innerRadiusPercent | range | 否 | 内半径作为外半径的百分比 (0-50%) |
| labelSize | range | 否 | 扇段标签的字体大小 |
| showLabels | checkbox | 否 | 在扇段上显示标签 |
| showValues | checkbox | 否 | 在扇段上显示数值 |
| showPercentages | checkbox | 否 | 在扇段上显示百分比值 |
| chartWidth | text | 否 | 图表宽度(像素) |
| chartHeight | text | 否 | 图表高度(像素) |
响应格式
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-sunburst-chart-generator": {
"name": "sunburst-chart-generator",
"description": "生成层级旭日图,支持极坐标系统和径向布局",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=sunburst-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]