Chart.js not displaying in box

๐Ÿ‘:0

Potatopeelings sugested i change the L in

var lineChart = new Chart(lineChartCanvas).line(areaChartData,lineChartOptions);

and that gave me an error message: ReferenceError: Chart is not defined. With that I managed to find the problem. When i included the Char.js i used

<script src="../../Chart.js-master/Chart.min.js"></script>

but it started working once i removed the ../../ in the begining of the file path.
Thanks for the help Potatopeelings ๐Ÿ™‚

Leave a comment