---json
{
"description": "This article shows you how to create a Gantt diagram.",
"page_id": "8a8sc5119u91pe0s9t53u",
"title": "How to create a gantt diagram with ComboStrap"
}
---
====== ComboStrap Diagram - Gantt ======
===== About =====
The ''gantt'' component is a [[diagram|diagram component]] that permits to create a ''gantt diagram''
===== Example =====
* The markup
```dw
gantt
title A Gantt Diagram
dateFormat YYYY-MM-DD
section Section
A task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section Another
Task in sec :2014-01-12 , 12d
another task : 24d
```
* The output:
===== Syntax =====
The syntax is based on the [[https://mermaid-js.github.io/mermaid/#/gantt|mermaid Gantt definition]]
... Mermaid Gantt definition ...
Mermaid offers a [[https://mermaid-js.github.io/mermaid-live-editor|live editor]] that you can use to validate and develop your diagrams.
This component is based on the [[docs:utility:mermaid|mermaid component]].