Data Visualization
Create professional Gantt charts with task timelines, dependencies, progress tracking, and milestone markers
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/gantt-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartTitle":"Enter chart title...","tasks":"JSON format example:\n[\n {\n "name": "Design Phase",\n "startDate": "2024-01-01",\n "endDate": "2024-01-15",\n "progress": 80,\n "dependencies": [],\n "isMilestone": false,\n "assignee": "John Doe"\n },\n {\n "name": "Development",\n "startDate": "2024-01-16",\n "endDate": "2024-02-28",\n "progress": 60,\n "dependencies": ["task-0"],\n "isMilestone": false,\n "assignee": "Jane Smith"\n },\n {\n "name": "Testing Phase",\n "startDate": "2024-03-01",\n "endDate": "2024-03-15",\n "progress": 100,\n "dependencies": ["task-1"],\n "isMilestone": true,\n "assignee": "Bob Johnson"\n }\n]","timeUnit":"days","dateFormat":"YYYY-MM-DD","currentDate":"YYYY-MM-DD (leave empty for today)","barHeight":"30","taskColor":"#e0e0e0","completedColor":"#22c55e","milestoneColor":"#f59e0b","dependencyColor":"#6b7280","todayLineColor":"#ef4444","gridColor":"#e0e0e0","backgroundColor":"#ffffff","chartWidth":"1000","chartHeight":"600","fontSize":"12","titleSize":"18","fontFamily":"Arial","showGrid":true,"showDependencies":true,"showMilestones":true,"showProgress":true,"showLabels":true,"todayLine":true,"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/gantt-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartTitle | text | No | Title that will be displayed above the Gantt chart |
| tasks | textarea | Yes | Tasks as JSON array with name, startDate, endDate, progress, dependencies, and optional milestone and assignee |
| timeUnit | select | No | — |
| dateFormat | select | No | — |
| currentDate | text | No | Date to mark as "today" on the chart |
| barHeight | number | No | Height of task bars in pixels |
| taskColor | color | No | Background color for task bars |
| completedColor | color | No | Color for completed portion of task bars |
| milestoneColor | color | No | Color for milestone markers |
| dependencyColor | color | No | Color for dependency lines |
| todayLineColor | color | No | Color for the today indicator line |
| gridColor | color | No | Color for 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 |
| 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 |
| showGrid | checkbox | No | Display background grid lines |
| showDependencies | checkbox | No | Display dependency arrows between tasks |
| showMilestones | checkbox | No | Display milestone markers |
| showProgress | checkbox | No | Display progress bars on tasks |
| showLabels | checkbox | No | Display task names and information |
| todayLine | checkbox | No | Display a line indicating the current date |
| 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-gantt-chart-generator": {
"name": "gantt-chart-generator",
"description": "Create professional Gantt charts with task timelines, dependencies, progress tracking, and milestone markers",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=gantt-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": "gantt-chart-generator",
"arguments": {
"chartTitle": "Enter chart title...",
"tasks": "JSON format example:\n[\n {\n "name": "Design Phase",\n "startDate": "2024-01-01",\n "endDate": "2024-01-15",\n "progress": 80,\n "dependencies": [],\n "isMilestone": false,\n "assignee": "John Doe"\n },\n {\n "name": "Development",\n "startDate": "2024-01-16",\n "endDate": "2024-02-28",\n "progress": 60,\n "dependencies": ["task-0"],\n "isMilestone": false,\n "assignee": "Jane Smith"\n },\n {\n "name": "Testing Phase",\n "startDate": "2024-03-01",\n "endDate": "2024-03-15",\n "progress": 100,\n "dependencies": ["task-1"],\n "isMilestone": true,\n "assignee": "Bob Johnson"\n }\n]",
"timeUnit": "days",
"dateFormat": "YYYY-MM-DD",
"currentDate": "YYYY-MM-DD (leave empty for today)",
"barHeight": "30",
"taskColor": "#e0e0e0",
"completedColor": "#22c55e",
"milestoneColor": "#f59e0b",
"dependencyColor": "#6b7280",
"todayLineColor": "#ef4444",
"gridColor": "#e0e0e0",
"backgroundColor": "#ffffff",
"chartWidth": "1000",
"chartHeight": "600",
"fontSize": "12",
"titleSize": "18",
"fontFamily": "Arial",
"showGrid": true,
"showDependencies": true,
"showMilestones": true,
"showProgress": true,
"showLabels": true,
"todayLine": true,
"animationEnabled": true,
"animationDuration": "1000"
}
}
}Questions or issues? Contact [email protected]