Bar Chart Generator
Generate customizable bar charts from data with various styling options
API Documentation
Request Endpoint
POST /en/api/tools/bar-chart-generator
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the chart. Can be JSON array or simple label:value pairs |
| chartTitle | text | No | Title that will be displayed above the chart |
| chartType | select | No | - |
| barColor | color | No | Color for the bars in the chart |
| backgroundColor | color | No | Background color for the chart container |
| gridColor | color | No | Color for the grid lines |
| barWidth | number | No | Width of each bar in pixels (auto-adjusts if too large) |
| chartHeight | number | No | Height of the chart in pixels |
| maxValue | number | No | Maximum value for Y-axis (leave empty for auto-scale) |
| minValue | number | No | Minimum value for Y-axis |
| xAxisLabel | text | No | Label for the X-axis |
| yAxisLabel | text | No | Label for the Y-axis |
| showGrid | checkbox | No | Display horizontal grid lines for better readability |
| showValues | checkbox | No | Display the actual values on top of each bar |
| showLegend | checkbox | No | Display a legend below the chart |
Response Format
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-bar-chart-generator": {
"name": "bar-chart-generator",
"description": "Generate customizable bar charts from data with various styling options",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=bar-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]