Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show years rather than months #23

Open
digitalwright opened this issue Sep 28, 2021 · 4 comments
Open

Show years rather than months #23

digitalwright opened this issue Sep 28, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@digitalwright
Copy link

Thanks for your excellent application! I found the web tool especially accessible. I have one small suggestion: When producing a chart spanning 4+ years, the months become too crowded and unreadable. It would be great if the web application had an option to display by year rather than month or show fewer month labels.

@giocomai giocomai added the enhancement New feature or request label Oct 8, 2021
@giocomai
Copy link
Owner

giocomai commented Oct 8, 2021

Thanks for reporting this. Better support for lenghty timelines is already planned, and will be included in the web application.

If you're in R, keep in mind that the output is still a ggplot object, so you can customise the y axis as you would expect, with something like:

 ... +
 scale_x_date(date_breaks = "6 months")`

@matthiasheuser
Copy link

Dear giocomai,
joining digitalwright in thanking for this great GANTT implementation!
I was about to open a request for the possibility of working with weeks rather than months. But in fact your answer solves that - scale_x_date(date_breaks = "1 week") i perfect for me.
Maybe you could just put that in the general readme because to me, that was an astonishing limitation, since in my experience you'd expect a GANTT viz to default to weeks, not months.
A genuine numerated "week" scale would be even better, but the workaround is fine too. If you had time to get around to that...
Thanks a lot in any case!
Best wishes

@giocomai
Copy link
Owner

giocomai commented Dec 9, 2021

Well received, this will be possible in a future update.

@intltechventures
Copy link

Option for Quarters would also be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants