Calendar vue by weeks/Months/Years
lzaiko opened this issue · comments
Hi There
In my application I have schedules that may take several years. When I used the gantt-elastic diagram, the application took too much time to load and blocked the browser.
Is it possible to have a display by Weeks/Months/Years for the diagram it will be more suitable for such case?
Thanks
Options are not all exposed in the examples. I was looking for the same thing than you did and I found the props definition of the component in the source: https://github.com/neuronetio/gantt-elastic/blob/master/src/GanttElastic.vue#L108
You can play around with, stepDuration, timeScale and timeZoom to get the optimal view for your project. stepDuration is used by day.js. So my guess is that you should follow the documentation from that library as to which duration types are supported. I tried day
, week
and month
successfully