Data Visualization
子弹图生成器
目标vs实际对比图表,包含目标线、实际值、比较范围
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/bullet-chart' \
-H 'Content-Type: application/json' \
-d '{"bulletData":"JSON format example:\n[{"title": "Sales Completion Rate", "subtitle": "2024 Q1", "value": 85, "target": 100, "ranges": {"poor": 60, "satisfactory": 80, "good": 95, "excellent": 100}, "unit": "%", "format": "percentage"},\n{"title": "Customer Satisfaction", "subtitle": "This Month Survey", "value": 4.2, "target": 4.5, "ranges": {"poor": 3.0, "satisfactory": 3.8, "good": 4.3, "excellent": 4.8}, "unit": "points", "format": "number"}]","chartTitle":"Performance Dashboard","orientation":"horizontal","showLabels":true,"showGrid":false,"colorScheme":"blue","animationDuration":"1000"}'