I use Chart.js(new version) as :
<script src="~/Plugin/Chart.js/src/chart.js"></script>
But when i demo in chrome, i get a error :
chart.js:4 Uncaught ReferenceError: require is not defined
Image
in your code, pull the bundle instead. E.g ~/Plugin/Chart.js/dist/Chart.bundle.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With