Data Visualization
范围条形图生成器
显示最大最小值范围和时间段区间的图表,甘特图的简化版本
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/range-bar-chart' \
-H 'Content-Type: application/json' \
-d '{"rangeData":"JSON format example (Date ranges):\n[{"label": "Project Phase 1", "startDate": "2024-01-01", "endDate": "2024-02-15", "color": "#4CAF50"},\n{"label": "Project Phase 2", "startDate": "2024-02-10", "endDate": "2024-04-01", "color": "#2196F3"}]\n\nOr numeric ranges:\n[{"label": "Product A", "minValue": 50, "maxValue": 120, "color": "#FF9800"},\n{"label": "Product B", "minValue": 80, "maxValue": 180, "color": "#4CAF50"}]","chartTitle":"Range Analysis Chart","orientation":"horizontal","showLabels":true,"showValues":true,"showGrid":true,"colorScheme":"blue","barHeight":"30","animationDuration":"1000","chartHeight":"400"}'