Merge branch 'develop' into pr/emersonbottero/3678

* develop:
  chore(docs): Update live editor links
  update user story link
  feat(gantt): Add option 'tickInterval' for custom tick interval
  Convert attr to classed
  Convert attr to style
This commit is contained in:
Sidharth Vinod
2022-11-01 21:01:58 +05:30
11 changed files with 300 additions and 76 deletions

View File

@@ -234,6 +234,18 @@ The following formatting strings are supported:
More info in: https://github.com/mbostock/d3/wiki/Time-Formatting
### Axis ticks
The default output ticks are auto. You can custom your `tickInterval`, like `1day` or `1week`.
tickInterval 1day
The pattern is:
/^([1-9][0-9]*)(minute|hour|day|week|month)$/
More info in: <https://github.com/d3/d3-time#interval_every>
## Comments
Comments can be entered within a gantt chart, which will be ignored by the parser. Comments need to be on their own line and must be prefaced with `%%` (double percent signs). Any text after the start of the comment to the next newline will be treated as a comment, including any diagram syntax