Shiba icon indicating copy to clipboard operation
Shiba copied to clipboard

Gantt chart rendering error

Open 00sapo opened this issue 6 years ago • 3 comments

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'

00sapo avatar Feb 13 '19 12:02 00sapo

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.

rhysd avatar Feb 25 '19 09:02 rhysd

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 avatar Feb 25 '19 10:02 00sapo

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

00sapo avatar Feb 25 '19 10:02 00sapo