Merge pull request #4634 from leinelissen/develop

feat: allow specifying on which weekday a tickInterval should start
This commit is contained in:
Yokozuna59
2023-07-18 07:33:08 +00:00
committed by GitHub
9 changed files with 147 additions and 21 deletions

View File

@@ -257,6 +257,20 @@ The pattern is:
More info in: <https://github.com/d3/d3-time#interval_every>
Week-based `tickInterval`s start the week on sunday by default. If you wish to specify another weekday on which the `tickInterval` should start, use the `weekday` option:
```mermaid-example
gantt
tickInterval 1week
weekday monday
```
```mermaid
gantt
tickInterval 1week
weekday monday
```
## Output in compact mode
The compact mode allows you to display multiple tasks in the same row. Compact mode can be enabled for a gantt chart by setting the display mode of the graph via preceeding YAML settings.