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 chart rendering error #47

Open
00sapo opened this issue Feb 13, 2019 · 3 comments
Open

Gantt chart rendering error #47

00sapo opened this issue Feb 13, 2019 · 3 comments

Comments

@00sapo
Copy link

00sapo commented Feb 13, 2019

On my system (Linux) with Shiba downloaded from the release, I get a wrong mermaid rendering:
image

This is my config.yml (I tried various values of drawer.responive and default configuration)

drawer:
    responsive: false
markdown:
    css_path: '/opt/Shiba-linux-x64/tufte.css'
path_watcher.default_path: '/home/sapo/MEGAsync/SHARED/Notes/General.md'
@rhysd
Copy link
Owner

rhysd commented Feb 25, 2019

Could you provide the mermaid source you used? I want to understand the problem derives from Shiba's mermaid usage or mermaid itself (in the case, I can try to update mermaid version). And to avoid misunderstanding, please describe your expectation.

@00sapo
Copy link
Author

00sapo commented Feb 25, 2019

gantt
        dateFormat  YYYY-MM-DD
        title Adding GANTT diagram functionality to mermaid
        section A section
        Completed task            :done,    des1, 2014-01-06,2014-01-08
        Active task               :active,  des2, 2014-01-09, 3d
        Future task               :         des3, after des2, 5d
        Future task2               :         des4, after des3, 5d
        section Critical tasks
        Completed task in the critical line :crit, done, 2014-01-06,24h
        Implement parser and jison          :crit, done, after des1, 2d
        Create tests for parser             :crit, active, 3d
        Future task in critical line        :crit, 5d
        Create tests for renderer           :2d
        Add to mermaid                      :1d

It's on the homepage of mermaid...

@00sapo
Copy link
Author

00sapo commented Feb 25, 2019

The rendering should take the full width available at startup or at rendering time...

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

No branches or pull requests

2 participants