Data Visualization
Create step charts with staircase-style data visualization, perfect for showing discrete changes over time
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/step-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartTitle":"Enter chart title...","dataPoints":"JSON format example:\n[{"x": "Jan", "y": 100, "label": "January"},\n{"x": "Feb", "y": 150, "label": "February"},\n{"x": "Mar", "y": 120, "label": "March"},\n{"x": "Apr", "y": 180, "label": "April"}]","xAxisLabel":"X Axis","yAxisLabel":"Y Axis","stepStyle":"step-before","lineColor":"#3b82f6","lineWidth":"2","pointColor":"#3b82f6","pointSize":"4","showDataPoints":true,"showLabels":false,"showGrid":true,"fillArea":false,"areaColor":"#3b82f6","gridColor":"#e0e0e0","backgroundColor":"#ffffff","chartWidth":"800","chartHeight":"500","dataLabelFormat":"number","fontSize":"12","titleSize":"18","fontFamily":"Arial","animationEnabled":true,"animationDuration":"1000"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/step-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartTitle | text | No | Title that will be displayed above the step chart |
| dataPoints | textarea | Yes | Data points as JSON array with x, y, and optional label properties |
| xAxisLabel | text | No | Label for the X-axis |
| yAxisLabel | text | No | Label for the Y-axis |
| stepStyle | select | Yes | — |
| lineColor | color | No | Color of the step line |
| lineWidth | number | No | Width of the step line in pixels |
| pointColor | color | No | Color of the data points |
| pointSize | number | No | Size of data points in pixels |
| showDataPoints | checkbox | No | Display data points on the step line |
| showLabels | checkbox | No | Display value labels on data points |
| showGrid | checkbox | No | Display background grid lines |
| fillArea | checkbox | No | Fill the area under the step line with color |
| areaColor | color | No | Color for area fill (if enabled) |
| gridColor | color | No | Color of grid lines |
| backgroundColor | color | No | Background color of the chart |
| chartWidth | number | No | Width of the chart in pixels |
| chartHeight | number | No | Height of the chart in pixels |
| dataLabelFormat | select | No | — |
| fontSize | number | No | Font size for labels and text |
| titleSize | number | No | Font size for the chart title |
| fontFamily | text | No | Font family for text elements |
| animationEnabled | checkbox | No | Animate the chart when it loads |
| animationDuration | number | No | Animation duration in milliseconds |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-step-chart-generator": {
"name": "step-chart-generator",
"description": "Create step charts with staircase-style data visualization, perfect for showing discrete changes over time",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=step-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "step-chart-generator",
"arguments": {
"chartTitle": "Enter chart title...",
"dataPoints": "JSON format example:\n[{"x": "Jan", "y": 100, "label": "January"},\n{"x": "Feb", "y": 150, "label": "February"},\n{"x": "Mar", "y": 120, "label": "March"},\n{"x": "Apr", "y": 180, "label": "April"}]",
"xAxisLabel": "X Axis",
"yAxisLabel": "Y Axis",
"stepStyle": "step-before",
"lineColor": "#3b82f6",
"lineWidth": "2",
"pointColor": "#3b82f6",
"pointSize": "4",
"showDataPoints": true,
"showLabels": false,
"showGrid": true,
"fillArea": false,
"areaColor": "#3b82f6",
"gridColor": "#e0e0e0",
"backgroundColor": "#ffffff",
"chartWidth": "800",
"chartHeight": "500",
"dataLabelFormat": "number",
"fontSize": "12",
"titleSize": "18",
"fontFamily": "Arial",
"animationEnabled": true,
"animationDuration": "1000"
}
}
}Questions or issues? Contact [email protected]