Chartjs-Display Chart(.js) when mouse hover over: TypeError: t is null

0👍

You are selecting unexciting element line-chart when i change it to canvas the chart showed up.it should be:

//Show chart
new Chart(document.getElementById("canvas"), {
        type: 'line',
        data: {
        .
        .

Leave a comment