Merge pull request #4561 from AlexMooney/patch-1

Fix up Gantt Chart demo
This commit is contained in:
Sidharth Vinod
2023-06-29 10:43:02 +05:30
committed by GitHub

View File

@@ -24,7 +24,7 @@ gantt
A task :a1, 2014-01-01, 30d A task :a1, 2014-01-01, 30d
Another task :after a1, 20d Another task :after a1, 20d
section Another section Another
Task in sec :2014-01-12 , 12d Task in Another :2014-01-12, 12d
another task :24d another task :24d
``` ```
@@ -90,10 +90,10 @@ You can add milestones to the diagrams. Milestones differ from tasks as they rep
gantt gantt
dateFormat HH:mm dateFormat HH:mm
axisFormat %H:%M axisFormat %H:%M
Initial milestone : milestone, m1, 17:49,2min Initial milestone : milestone, m1, 17:49, 2m
taska2 : 10min Task A : 10m
taska3 : 5min Task B : 5m
Final milestone : milestone, m2, 18:14, 2min Final milestone : milestone, m2, 18:08, 4m
``` ```
## Setting dates ## Setting dates
@@ -214,15 +214,14 @@ Comments can be entered within a gantt chart, which will be ignored by the parse
```mermaid ```mermaid
gantt gantt
title A Gantt Diagram title A Gantt Diagram
%% this is a comment %% This is a comment
dateFormat YYYY-MM-DD dateFormat YYYY-MM-DD
section Section section Section
A task :a1, 2014-01-01, 30d A task :a1, 2014-01-01, 30d
Another task :after a1, 20d Another task :after a1, 20d
section Another section Another
Task in sec :2014-01-12 , 12d Task in Another :2014-01-12, 12d
another task :24d another task :24d
``` ```
## Styling ## Styling