jwkhor
September 3, 2025, 6:46am
1
I’m trying to integrate Chart.js into a WeWeb project and would like to use the chartjs-plugin-annotation plugin so I can draw lines/boxes on the chart
Hi there
We have a native charts.js plugin but if you want to install another plugin on top you will probably need to use NPM to install.
Here’s a community post talking about it:
Hey WeWeb Community! I’ve tried installing the Chart JS Annotation plugin but having trouble with it performing consistently. Sometimes it shows and sometimes it does not. Any advice on how to troubleshoot? Check out my Loom video for a full walkthrough of the problem.
And another post with some follow up answers:
I’m having some trouble creating a combo bar/line chart . Per the linked sample, I believe I just need to add 2 datasets to the datasets formula. I’m able to get 2 datasets created as 2 bars (see attached Figure1.png) but as soon as I change the second dataset to type:line the chart breaks (see attached Figure2p.png). Am I doing something wrong, is this a limitation, or is this a bug?
For added context, I am trying to create a bar chart that illustrates current data point compared to a goal data…
Hope this helps