Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Range Bar Chart Generator

Chart displaying min-max ranges and time intervals, simplified version of Gantt chart

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/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"}'

© 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/range-bar-chart

Parameters

NameTypeRequiredDescription
rangeDatatextareaYesJSON format range chart data. Supports date ranges (startDate/endDate) or numeric ranges (minValue/maxValue)
chartTitletextNoMain title of the range chart
orientationselectNo—
showLabelscheckboxNoWhether to display item labels
showValuescheckboxNoWhether to display start/end values
showGridcheckboxNoWhether to display background grid lines
colorSchemeselectNo—
barHeighttextNoHeight/thickness of the range bars in pixels
animationDurationtextNoAnimation duration in milliseconds
chartHeighttextNoHeight of the chart area in pixels (for vertical orientation)

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-range-bar-chart": {
      "name": "range-bar-chart",
      "description": "Chart displaying min-max ranges and time intervals, simplified version of Gantt chart",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=range-bar-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": "range-bar-chart",
    "arguments": {
  "rangeData": "JSON format example (Date ranges):\n[{&quot;label&quot;: &quot;Project Phase 1&quot;, &quot;startDate&quot;: &quot;2024-01-01&quot;, &quot;endDate&quot;: &quot;2024-02-15&quot;, &quot;color&quot;: &quot;#4CAF50&quot;},\n{&quot;label&quot;: &quot;Project Phase 2&quot;, &quot;startDate&quot;: &quot;2024-02-10&quot;, &quot;endDate&quot;: &quot;2024-04-01&quot;, &quot;color&quot;: &quot;#2196F3&quot;}]\n\nOr numeric ranges:\n[{&quot;label&quot;: &quot;Product A&quot;, &quot;minValue&quot;: 50, &quot;maxValue&quot;: 120, &quot;color&quot;: &quot;#FF9800&quot;},\n{&quot;label&quot;: &quot;Product B&quot;, &quot;minValue&quot;: 80, &quot;maxValue&quot;: 180, &quot;color&quot;: &quot;#4CAF50&quot;}]",
  "chartTitle": "Range Analysis Chart",
  "orientation": "horizontal",
  "showLabels": true,
  "showValues": true,
  "showGrid": true,
  "colorScheme": "blue",
  "barHeight": "30",
  "animationDuration": "1000",
  "chartHeight": "400"
}
  }
}
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