[
https://issues.apache.org/jira/browse/JSPWIKI-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040944#comment-18040944
]
Alex O'Ree commented on JSPWIKI-1102:
-------------------------------------
ok i fixed the version issue within the css/js url, added the dynamic
script+css of chartist injection a new wiki plugin and moved the rendering
logic to a new behavior.
when it edit mode, it dumps of a bunch of error messages because of the
ordering of execution causes the render chart bit to run before the dynamic
script injection for some reason. It's funky
renders ok in normal viewing mode.
so now you have to add something like this to get the chart to render
[\{ChartistPlugin}]
%%chartist-line {
high: 15,
low: -5
}
|| Monday || Tuesday || Wednesday || Thursday || Friday
| 12| 9 | 7 | 8 | 5
| 2 | 1 | 3.5| 7 | 3
| 1 | 3 | 4 | 5 | 6
/%
> Add charting library to JSPWiki distribution
> --------------------------------------------
>
> Key: JSPWIKI-1102
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1102
> Project: JSPWiki
> Issue Type: Improvement
> Components: Templates and UI
> Reporter: Dirk Frederickx
> Assignee: Alex O'Ree
> Priority: Minor
> Attachments: image-2025-11-23-14-07-13-571.png
>
>
> Add a charting library to JSPWiki for easy rendering data in TABLE's as line,
> pie- or bar-charts.
> The charting library should provide well chosen defaults to keep the extra
> markup as little as possible.
> Proposal:
> Include [https://gionkunz.github.io/chartist-js/] (MIT license) in the
> standard JSPWiki's distribution.
> * small footprint (10K zipped JS; only loaded in pages with require charts)
> * usage of svg; high quality device independent
> * highly customizable; but using 'convention over configuration' (great
> defaults)
> * responsive (great output on mobile devices)
>
> Prereq: https://issues.apache.org/jira/browse/JSPWIKI-1040
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)