function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Thiago AntunesThiago Antunes 

Error loading ChartJS

Hi everyone!

I am trying to run this LWC in my TP: https://www.forcetrails.com/2020/04/bar-chart-in-lightning-web-component-lwc-bar-chartjs.html

But I get this error: Error loading ChartJS

What can we do?

Best Answer chosen by Thiago Antunes
mukesh guptamukesh gupta
Hi Thiago,

It's may be  jquery issue,  Please follow below url

https://salesforcerealm.com/2020/12/09/chart-in-lwc-using-chartjs/


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh 

All Answers

mukesh guptamukesh gupta
Hi Thiago,

It's may be  jquery issue,  Please follow below url

https://salesforcerealm.com/2020/12/09/chart-in-lwc-using-chartjs/


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh 
This was selected as the best answer
Thiago AntunesThiago Antunes
Thanks, Mukesh Gupta! It worked.