Bar Chart Generator
Generate customizable bar charts from data with various styling options
Documentação da API
Ponto final da solicitação
POST /pt/api/tools/bar-chart-generator
Parâmetros da solicitação
| Nome do parâmetro | Tipo | Requerido | Descrição |
|---|---|---|---|
| chartData | textarea | Sim | Data for the chart. Can be JSON array or simple label:value pairs |
| chartTitle | text | Não | Title that will be displayed above the chart |
| chartType | select | Não | - |
| barColor | color | Não | Color for the bars in the chart |
| backgroundColor | color | Não | Background color for the chart container |
| gridColor | color | Não | Color for the grid lines |
| barWidth | number | Não | Width of each bar in pixels (auto-adjusts if too large) |
| chartHeight | number | Não | Height of the chart in pixels |
| maxValue | number | Não | Maximum value for Y-axis (leave empty for auto-scale) |
| minValue | number | Não | Minimum value for Y-axis |
| xAxisLabel | text | Não | Label for the X-axis |
| yAxisLabel | text | Não | Label for the Y-axis |
| showGrid | checkbox | Não | Display horizontal grid lines for better readability |
| showValues | checkbox | Não | Display the actual values on top of each bar |
| showLegend | checkbox | Não | Display a legend below the chart |
Formato de resposta
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
Documentação de MCP
Adicione este ferramenta à sua configuração de servidor MCP:
{
"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"
}
}
}
Você pode encadear várias ferramentas, ex: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, máx 20 ferramentas.
Se você encontrar algum problema, por favor, entre em contato conosco em [email protected]