Elysia Tools Docs
ES
Idioma
ZHESPTRUFRDEEN
Volver al sitio
Explorar herramientas

Data Visualization

Stream Graph Generator

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

html· Resultado HTMLAbrir herramienta

Inicio rápido

Llama a esta herramienta desde tu código en tres lenguajes.

cURL
curl -X POST 'https://api.elysiatools.com/es/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. Documentación para desarrolladores.

Volver al sitioExplorar herramientas

Referencia de la API

Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.

Endpoint

HTTP
POST https://api.elysiatools.com/es/api/tools/stream-graph-generator

Parámetros

NombreTipoObligatorioDescripción
chartDatatextareaSíTime 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

Formato de respuesta

Resultado HTML

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

Integración MCP

Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.

Configuración del servidor

Añade este bloque a la configuración de tu cliente MCP:

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

Listar herramientas disponibles

Tras conectar al endpoint SSE, lista las herramientas expuestas:

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

Llamar a esta herramienta

Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:

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"
}
  }
}
Encadena varias herramientas en una sesión con una lista toolId separada por comas, p. ej. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (máx. 20).

¿Dudas o problemas? Contacta con [email protected]

Explorar herramientas
Abrir herramienta