-
Book Overview & Buying
-
Table Of Contents
The Official Guide to Mermaid.js
By :
A Gantt chart is a way of displaying a project schedule with bars, showing activities over time. In this subsection, you will find the following configuration options that can be used to modify the rendering of Gantt charts:
titleTopMargin (integer)This is the margin on top of the title in a Gantt chart.
Default value: 25
Here is an example of an init directive setting the titleTopMargin option:
%%{init: {"gantt": {"titleTopMargin": true}}}%%barHeight (integer)The height of the activity bars in a Gantt chart can be configured using this option.
Default value: 20
Here is an example of an init directive setting the barHeight option:
%%{init: {"gantt": {"barHeight": 20}}}%%barGap (integer)With this option, you can set the height of the gap between activity bars in a Gantt chart.
Default value: 4
Here is an example of an init directive setting the barGap option:
%%{init: {"gantt": {"barGap": 4}}}%%topPadding...