范围条形图生成器
显示最大最小值范围和时间段区间的图表,甘特图的简化版本
API 文档
请求端点
POST /zh/api/tools/range-bar-chart
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| rangeData | textarea | 是 | JSON格式的范围条形图数据。支持日期范围(startDate/endDate)或数值范围(minValue/maxValue) |
| chartTitle | text | 否 | 范围条形图的主标题 |
| orientation | select | 否 | - |
| showLabels | checkbox | 否 | 是否显示项目标签 |
| showValues | checkbox | 否 | 是否显示开始/结束数值 |
| showGrid | checkbox | 否 | 是否显示背景网格线 |
| colorScheme | select | 否 | - |
| barHeight | text | 否 | 范围条形的高度/厚度(像素) |
| animationDuration | 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-range-bar-chart": {
"name": "range-bar-chart",
"description": "显示最大最小值范围和时间段区间的图表,甘特图的简化版本",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=range-bar-chart",
"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]