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

mermaidjs渲染gantt图不支持axisFormat关键字 #741

Closed
XeonForce opened this issue Apr 16, 2019 · 1 comment
Closed

mermaidjs渲染gantt图不支持axisFormat关键字 #741

XeonForce opened this issue Apr 16, 2019 · 1 comment

Comments

@XeonForce
Copy link

OS Version : Windows
VNote Version: 2.4

Symptoms (表现):

mermaidjs渲染的甘特图,vnote默认是以周为单位显示横坐标
代码中带上axisFormat关键字以修改坐标轴时,vnote无法渲染,直接显示原代码

mermaid已支持该关键字,相关issue

How to Repro (如何复现):

测试代码

gantt
    dateFormat  YYYY-MM-DD
    axisFormat  %m/%d/%Y
    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

移除axisFormat后显示正常

@tamlok
Copy link
Member

tamlok commented Jan 16, 2023

Should be fixed after updating the version of Mermaid.

@tamlok tamlok closed this as completed Jan 16, 2023
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