Topic on Extension talk:Mermaid

Set "axisFormat" for Gantt charts

1
Summary by Revansx

It was demonstrated that this capability is available in the latest version of mermaid: 2.1.0. See https://mermaidjs.github.io/gantt.html#Scale for axisFormat value details

Revansx (talkcontribs)

Hi. I'm using Mermaid with MW 1.30 for Gantt charts and I'd like to set the axisFormat parameter as discussed in mediawikijs project pages here:

It's not clear to me how to do this with Mermaid as a mediawiki extension. Do I need to add something in Common.js or maybe make changes to the mermaid.core.config file in the mermaid extensions folder.. Please advise!


Thanks!