axisFormat does not work for mermaid chart in DiagrammeR #5302
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
A simple example works fine, however, when I add axisFormat %m/%d/%Y, it returns text instead of a diagram.
Steps to reproduce
This one works when using mermaid in DiagrammeR:
library(DiagrammeR)
mermaid("
gantt
title A Gantt Diagram
dateFormat YYYY-MM-DD
section Section
First Task :a1, 2018-07-01, 30d
Another Task :after a1, 20d
section Another
Second Task :2018-07-12, 12d
Third Task : 24d
")
After adding line axisFormat %m/%d/%Y, I will get back only text instead of a diagram
mermaid("
gantt
title A Gantt Diagram
dateFormat YYYY-MM-DD
axisFormat %m/%d/%Y
section Section
First Task :a1, 2018-07-01, 30d
Another Task :after a1, 20d
section Another
Second Task :2018-07-12, 12d
Third Task : 24d
")
Screenshots
No response
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: