From 721208e9815be1d4d63922ebfb7f5bb6143c09c5 Mon Sep 17 00:00:00 2001 From: Ch K <125943705+karistom@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:31:44 +1000 Subject: [PATCH] auto generated from pnpm run --- docs/syntax/gantt.md | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/docs/syntax/gantt.md b/docs/syntax/gantt.md index 9f7be5c86..18ccc9197 100644 --- a/docs/syntax/gantt.md +++ b/docs/syntax/gantt.md @@ -465,19 +465,40 @@ Beginner's tip—a full example using interactive links in an html context: ``` -```mermaid +## Examples + +### Bar chart (using gantt chart) + +```mermaid-example gantt - title Git Issues - days since last update + title Git Issues - days since last update dateFormat X - axisFormat %s - section Issue19062 + axisFormat %s + section Issue19062 71 : 0, 71 section Issue19401 36 : 0, 36 section Issue193 34 : 0, 34 section Issue7441 - 9 : 0, 9 + 9 : 0, 9 + section Issue1300 + 5 : 0, 5 +``` + +```mermaid +gantt + title Git Issues - days since last update + dateFormat X + axisFormat %s + section Issue19062 + 71 : 0, 71 + section Issue19401 + 36 : 0, 36 + section Issue193 + 34 : 0, 34 + section Issue7441 + 9 : 0, 9 section Issue1300 5 : 0, 5 ```