Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Calendar vue by weeks/Months/Years #99

Open
lzaiko opened this issue Feb 25, 2020 · 1 comment
Open

Calendar vue by weeks/Months/Years #99

lzaiko opened this issue Feb 25, 2020 · 1 comment

Comments

@lzaiko
Copy link

lzaiko commented Feb 25, 2020

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

@lunfel
Copy link

lunfel commented May 8, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants