mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-14 17:54:13 +01:00
Update gantt.md
This commit is contained in:
@@ -15,18 +15,6 @@ gantt
|
|||||||
Task in sec :2014-01-12 , 12d
|
Task in sec :2014-01-12 , 12d
|
||||||
another task : 24d
|
another task : 24d
|
||||||
```
|
```
|
||||||
```mermaid
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
||||||
@@ -106,7 +94,11 @@ Tbd
|
|||||||
|
|
||||||
### Date format
|
### Date format
|
||||||
|
|
||||||
The default date format is YYYY-MM-DD
|
The default date format is YYYY-MM-DD. You can define your ``dateFormat``. For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
dateFormat YYYY MM DD
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Diagram definition
|
### Diagram definition
|
||||||
|
|||||||
Reference in New Issue
Block a user