Gantt compact displayMode has severe overwriting problem for external labels #4683
Labels
Graph: Gantt
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
When I have a gantt chart with task labels that do not fit inside the task box, and enable compact displayMode to achieve the effects mentioned in bugs #1813 and #1996 the resulting chart becomes unreadable since tasks overwrite each other.
Steps to reproduce
I adjusted the online editor example Gantt input to demonstrate this bad effect:
https://mermaid.live/edit#pako:eNpdkD9rwzAQxb_KodkCy0kXbQbTTp7SpaDlsOREVH-MfR5CyHevFMs17SHQ8d7v6cQ92BC1YZJxzlXQdpkc3vskSRiin3AgFV7WFQOlHlKRJWeghY8sQWfxOqPfLI1k3uPskQC-UvG-5123eYsZyMYAl-3exBYIl284SqKooKnFmdcinQpOtS55j87RzYZrgpoDEm8ViMJEupl5Z0YyM2Ryd9vw8o-ROyMA8nv670cLvomfOWNDNstHf-c3OS2aksb_Q0BCc9asYt6kxVidlv3IqGKJ80YxmVptRlwdKabCM6G4Urzcw8Akzaup2DrlzZZVMzmiW8zzB34jg8M
Notice that the center line has "smallthing" and "otherthing" being printed on top of each other.
Screenshots
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: