[Chartjs]-Chart.js chart not rendering

3๐Ÿ‘

I was facing a similar issue wherein the chart.js documentation was not helpful. Then I noticed that the chart.min.js version should be the latest one. This day we use 2.5+ and the documentation is for that version.

So try replacing the file, and reloading your page (conforming to documents of chart.min.js 2.5+)

0๐Ÿ‘

How you created your context? It should be

var ctx = document.getElementById("myChart");

Leave a comment