I used chart.js and had the same exception when hovering over a point. When I put my data in a double array, the chart did not show anything.
Solution: If the chart is of type 'line', it does not accept an array of colors for the background and border, but for individual colors. This worked for me:
var chart = new Chart(chartCanvas, { type : 'line', data : { labels : dates, datasets : [{ label : 'Error', data : errorCounts, backgroundColor : 'rgba(255, 99, 132, 0.2)', borderColor : 'rgba(255,99,132,1)', borderWidth : 1 }, { label : 'Ok', data : okCounts, backgroundColor : 'rgba(75, 202, 72, 0.2)', borderColor : 'rgba(117,239,95,1)', borderWidth : 1 } ] }, options : { responsive : true, scales : { yAxes : [{ ticks : { beginAtZero : true } } ] } } });
laekwondo
source share