From a58d014a1352651835cc6e18d8c01e246ca75272 Mon Sep 17 00:00:00 2001 From: Ch K <125943705+karistom@users.noreply.github.com> Date: Fri, 31 Mar 2023 17:00:53 +1100 Subject: [PATCH] Bar chart --- README.md | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/README.md b/README.md index d42e2f7e1..d3747ab67 100644 --- a/README.md +++ b/README.md @@ -324,6 +324,64 @@ Rel(SystemAA, SystemC, "Sends e-mails", "SMTP") Rel(SystemC, customerA, "Sends e-mails to") ``` +### Bar chart (using gantt chart) [docs - live editor] + +``` +gantt + title Bar chart (days since last update) + dateFormat X + axisFormat %s + + section 19062 + 71 : 0, 71 + section 19061 + 70 : 0, 70 + section 19401 + 36 : 0, 36 + section 7089 + 36 : 0, 36 + section 193 + 34 : 0, 34 + section 7441 + 9 : 0, 9 + section 1148 + 8 : 0, 8 + section 1300 + 5 : 0, 5 + section 1411 + 2 : 0, 2 + section 1701 + 1 : 0, 1 +``` + +```mermaid +gantt + title Bar chart (days since last update) + dateFormat X + axisFormat %s + + section 19062 + 71 : 0, 71 + section 19061 + 70 : 0, 70 + section 19401 + 36 : 0, 36 + section 7089 + 36 : 0, 36 + section 193 + 34 : 0, 34 + section 7441 + 9 : 0, 9 + section 1148 + 8 : 0, 8 + section 1300 + 5 : 0, 5 + section 1411 + 2 : 0, 2 + section 1701 + 1 : 0, 1 +``` + ## Release For those who have the permission to do so: