Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Stream Graph Generator

Generate beautiful stream graphs for time series data with smooth flowing animations and baseline variations

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/stream-graph-generator' \
  -H 'Content-Type: application/json' \
  -d '{"chartData":"JSON format:\n[\n  {"name": "Product A", "values": [30, 45, 35, 50, 40, 35, 45, 55]},\n  {"name": "Product B", "values": [20, 25, 30, 25, 35, 30, 25, 30]},\n  {"name": "Product C", "values": [15, 20, 25, 20, 15, 25, 20, 15]}\n]\n\nor text format:\nProduct A:30,45,35,50,40,35,45,55\nProduct B:20,25,30,25,35,30,25,30\nProduct C:15,20,25,20,15,25,20,15","chartTitle":"Stream Graph","timeLabels":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug","colorScheme":"default","baselineType":"zero","chartWidth":"800","chartHeight":"400","showGrid":false,"showLabels":true,"backgroundColor":"#ffffff"}'

© 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/stream-graph-generator

Parameters

NameTypeRequiredDescription
chartDatatextareaYesTime series data for the stream graph. Supports JSON array or simple name:value list format
chartTitletextNoTitle that will be displayed above the chart
timeLabelstextNoComma-separated labels for time periods (optional)
colorSchemeselectNo—
baselineTypeselectNoAlgorithm for calculating the baseline
chartWidthnumberNoWidth of the chart in pixels
chartHeightnumberNoHeight of the chart in pixels
showGridcheckboxNoDisplay background grid lines
showLabelscheckboxNoDisplay series names on the chart
backgroundColortextNoBackground color for the chart container

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-stream-graph-generator": {
      "name": "stream-graph-generator",
      "description": "Generate beautiful stream graphs for time series data with smooth flowing animations and baseline variations",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=stream-graph-generator",
      "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": "stream-graph-generator",
    "arguments": {
  "chartData": "JSON format:\n[\n  {&quot;name&quot;: &quot;Product A&quot;, &quot;values&quot;: [30, 45, 35, 50, 40, 35, 45, 55]},\n  {&quot;name&quot;: &quot;Product B&quot;, &quot;values&quot;: [20, 25, 30, 25, 35, 30, 25, 30]},\n  {&quot;name&quot;: &quot;Product C&quot;, &quot;values&quot;: [15, 20, 25, 20, 15, 25, 20, 15]}\n]\n\nor text format:\nProduct A:30,45,35,50,40,35,45,55\nProduct B:20,25,30,25,35,30,25,30\nProduct C:15,20,25,20,15,25,20,15",
  "chartTitle": "Stream Graph",
  "timeLabels": "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug",
  "colorScheme": "default",
  "baselineType": "zero",
  "chartWidth": "800",
  "chartHeight": "400",
  "showGrid": false,
  "showLabels": true,
  "backgroundColor": "#ffffff"
}
  }
}
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