-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Gantt sections are not separated by colors - Fix: set numberSectionStyles to 4 instead of 3 #620
Comments
Yes, I've noticed that there seems to be a limit of 3 sections on the gantt charts too. Edit: Clarification, only 3 background section colors. |
Thanks Craig, I noticed it in my own chart, where I have 6 sections and the 3rd and 4th sections has the same background color. All of them under gitlab. So, the colors are rotating like this: color1, color2, color3, color1, color2, color3 etc., but maybe the color1 and color3 are the same color? I checked the css, and it seems, the And I confirm, there are only 3 different section types and they are rotating. Changing the section2 in the developer tools of the browser I can change the color of the section2 (3rd section), so, I got what I wanted. So, I consider this is a bug, maybe in the generate code, maybe in the stylesheet. |
Ok, it seems, it easy to fix, it should be only wrong number written (3 instead of 4). Here you can change the value to 4: In Gitlab you can search and change it in this file: Do not forget to recreate the Wipe out your browser cache and reload the page, et voilà, it just works as expected :) |
Hi @pongraczi Thank you for this detailed bug report. The default theme doesn't have this issue: So maybe it's a theme issue. |
I agree with you that I have fixed this issue. Please wait for the upcoming mermaid version 8.0 |
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.236 to 1.0.0-next.247. - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit) --- updated-dependencies: - dependency-name: "@sveltejs/kit" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Hi,
First, thank you for this great tool, especially with gitlab!
I found that, the gantt diagram has a bug: some sections has the same background color and cannot see the separation.
It is also visible in your gitbook demonstration and I have the same issue in my gitlab: two following sections have the same color background, hard to recognize sections on the diagram.
Please check the screenshot from your gitbook page:
Did I miss something, or is it a minor bug? Thnx
The text was updated successfully, but these errors were encountered: