Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

子弹图生成器

目标vs实际对比图表,包含目标线、实际值、比较范围

html· HTML resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/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"}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/bullet-chart

Parameters

NameTypeRequiredDescription
bulletDatatextareaYesJSON format bullet chart data including titles, values, targets, and ranges
chartTitletextNoMain title of the bullet chart
orientationselectNo—
showLabelscheckboxNoWhether to display value labels
showGridcheckboxNoWhether to display background grid lines
colorSchemeselectNo—
animationDurationtextNoAnimation duration in milliseconds

Response format

HTML result

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-bullet-chart": {
      "name": "bullet-chart",
      "description": "目标vs实际对比图表,包含目标线、实际值、比较范围",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=bullet-chart",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "bullet-chart",
    "arguments": {
  "bulletData": "JSON format example:\n[{&quot;title&quot;: &quot;Sales Completion Rate&quot;, &quot;subtitle&quot;: &quot;2024 Q1&quot;, &quot;value&quot;: 85, &quot;target&quot;: 100, &quot;ranges&quot;: {&quot;poor&quot;: 60, &quot;satisfactory&quot;: 80, &quot;good&quot;: 95, &quot;excellent&quot;: 100}, &quot;unit&quot;: &quot;%&quot;, &quot;format&quot;: &quot;percentage&quot;},\n{&quot;title&quot;: &quot;Customer Satisfaction&quot;, &quot;subtitle&quot;: &quot;This Month Survey&quot;, &quot;value&quot;: 4.2, &quot;target&quot;: 4.5, &quot;ranges&quot;: {&quot;poor&quot;: 3.0, &quot;satisfactory&quot;: 3.8, &quot;good&quot;: 4.3, &quot;excellent&quot;: 4.8}, &quot;unit&quot;: &quot;points&quot;, &quot;format&quot;: &quot;number&quot;}]",
  "chartTitle": "Performance Dashboard",
  "orientation": "horizontal",
  "showLabels": true,
  "showGrid": false,
  "colorScheme": "blue",
  "animationDuration": "1000"
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse tools
Open tool