雷达图生成器
从数据生成可自定义的雷达图(蜘蛛图),非常适合多维度对比和分析
API 文档
请求端点
POST /zh/api/tools/radar-chart-generator
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| chartData | textarea | 是 | 雷达图数据。支持JSON对象或包含类别和多数据系列的文本格式 |
| chartTitle | text | 否 | 显示在图表上方的标题 |
| seriesColors | text | 否 | 多个数据系列的颜色(逗号分隔的十六进制颜色)。留空使用默认颜色。 |
| fillOpacity | number | 否 | 雷达区域填充的透明度(0.0到1.0) |
| lineWidth | number | 否 | 雷达区域边框线的像素宽度 |
| chartHeight | number | 否 | 方形图表的像素尺寸 |
| startAngle | number | 否 | 起始角度(0=顶部,90=右侧) |
| polygonSides | number | 否 | 雷达多边形的边数(3-12,留空则根据类别自动设置) |
| maxValue | number | 否 | 雷达刻度的最大值(留空自动缩放) |
| minValue | number | 否 | 雷达刻度的最小值 |
| backgroundColor | color | 否 | 图表容器的背景颜色 |
| gridColor | color | 否 | 网格线和圆圈的颜色 |
| showGrid | checkbox | 否 | 显示网格圆圈和径向线 |
| showPoints | checkbox | 否 | 在雷达顶点显示数据点 |
| showValues | checkbox | 否 | 在数据点上显示实际数值 |
| showLegend | checkbox | 否 | 在图表下方显示图例 |
响应格式
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-radar-chart-generator": {
"name": "radar-chart-generator",
"description": "从数据生成可自定义的雷达图(蜘蛛图),非常适合多维度对比和分析",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=radar-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]