You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Добавить поддержку линейных диаграмм в mermaid #617
Mermaid заявляет поддержку линейных диаграмм (тут описание https://mermaid.js.org/syntax/xyChart.html) но при попытке подключить пример в dochub получаю ошибку в консоле о том что тип неопределен:
Версия IDEA
IntelliJ IDEA 2025.1.3 (Community Edition)
Build #IC-251.26927.53, built on June 23, 2025
Source revision: a5abecbe752fe
Runtime version: 21.0.7+9-b895.130 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 10048M
Cores: 8
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
PythonCore (251.26927.70)
org.dochub.idea.arch (4.3.0)
UpperLowerCapitalize (0.1.1q)
PlantUML integration (7.13.0-IJ2023.2)
Kotlin: 251.26927.53-IJ
Версия плагина 4.3.0
Шаги для воспроизведения:
Создать файл с расширением *.mmd
Добавить в него содержимое: xychart title "Sales Revenue" x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec] y-axis "Revenue (in $)" 4000 --> 11000 bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000] line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
Зарегистрировать в yaml документ под диаграмму. Например: diagram.staistics.mermaid: type: mermaid source: statistics.mmd location: /Mermaid/Example
Activity