neuronetio / gantt-elastic

Gantt Chart [ javascript gantt chart, gantt component, vue gantt, vue gantt chart, responsive gantt, project manager , vue projects ]

Home Page:https://neuronet.io/gantt-elastic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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