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

Gantt diagram date text on the horizontal axis overlapped if tasks span a long period of time #1301

Open
ccll opened this issue Mar 11, 2020 · 7 comments
Labels
Contributor needed Graph: Gantt Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@ccll
Copy link

ccll commented Mar 11, 2020

Describe the bug

image

To Reproduce
Steps to reproduce the behavior:
Paste below code into live editor

gantt
section Section
Completed    :done,    des1, 2020-01-06, 2020-01-08
Active       :active,  des2, 2020-01-07, 30d
Parallel 1   :         des3, after des1, 30d
Parallel 2   :         des4, after des3, 30d
Parallel 3   :         des5, after des4, 30d
Parallel 4   :         des6, after des5, 30d

Expected behavior
The date text on horizontal axis should not overlap, for e.g. switch to a vertical layout.

Desktop (please complete the following information):

  • OS: Ubuntu 19.10
  • Browser chrome
@ccll ccll added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 11, 2020
@jmythms
Copy link

jmythms commented Nov 2, 2020

Mermaid is amazing. I ran into the same problem. Is it possible to get the dates vertically formatted?

@Bloodchiefy
Copy link

Did so too, is it resolved?

@drorata
Copy link

drorata commented Dec 30, 2021

I would like to raise the very same question... Thanks

@irasanchez
Copy link

The easiest way to resolve this is to choose a different date format. It's not a direct solution, but it works for my purposes: #269

@aliouas
Copy link

aliouas commented Nov 1, 2023

I think the issue is resolved. I tried to reproduce it and this is the output:
image
I think it should be closed.

@nmlynch94
Copy link

@aliouas I suspect this is fixed by whatever custom theme you have enabled. For me, it works with minimal enabled, but this is what it looks like with the default theme enabled:
image

@paldeep-singh
Copy link

I'm going to try looking into this this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor needed Graph: Gantt Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

10 participants