Added support for millisecond and second to gantt tickInterval

This commit is contained in:
Thomas Ingram
2023-08-27 15:57:17 +10:00
parent ed819e96d5
commit 8f340094d9
4 changed files with 19 additions and 5 deletions

View File

@@ -184,7 +184,7 @@ tickInterval 1day
The pattern is:
```javascript
/^([1-9][0-9]*)(minute|hour|day|week|month)$/;
/^([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month)$/;
```
More info in: [https://github.com/d3/d3-time#interval_every](https://github.com/d3/d3-time#interval_every)