From efc4062721794389c93cd959b7adfd801b7314bf Mon Sep 17 00:00:00 2001 From: Ch K <125943705+karistom@users.noreply.github.com> Date: Wed, 5 Apr 2023 09:07:01 +1000 Subject: [PATCH] added example of Bar chart --- packages/mermaid/src/docs/syntax/gantt.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/packages/mermaid/src/docs/syntax/gantt.md b/packages/mermaid/src/docs/syntax/gantt.md index 7c446d91f..ec6642884 100644 --- a/packages/mermaid/src/docs/syntax/gantt.md +++ b/packages/mermaid/src/docs/syntax/gantt.md @@ -356,3 +356,24 @@ Beginner's tip—a full example using interactive links in an html context: ``` + +## Examples + +### Bar chart (using gantt chart) + +```mermaid-example +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 +```