# How to use Chart.js with chartjs-plugin-annotation?

**URL:** <https://community.weweb.io/t/how-to-use-chart-js-with-chartjs-plugin-annotation/19854>\
**Category:** Ask us anything\
**Created:** [September 3, 2025, 6:46am UTC](https://community.weweb.io/t/how-to-use-chart-js-with-chartjs-plugin-annotation/19854 "2025-09-03T06:46:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [September 3, 2025, 2:06pm UTC](https://community.weweb.io/t/how-to-use-chart-js-with-chartjs-plugin-annotation/19854/2 "2025-09-03T14:06:44Z")

</div>

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:

> [@Help with Chart JS Annotation Plugin](https://community.weweb.io/t/help-with-chart-js-annotation-plugin/4781):
>
> 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:

> [@How to build a combo bar/line chart](https://community.weweb.io/t/how-to-build-a-combo-bar-line-chart/4670):
>
> I’m having some trouble creating a [combo bar/line chart](https://www.chartjs.org/docs/latest/samples/other-charts/combo-bar-line.html). 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

---

_[View the full topic](https://community.weweb.io/t/how-to-use-chart-js-with-chartjs-plugin-annotation/19854)._
