Chart.js
Chart.js copied to clipboard
Typo in documentation
The documentation gives this example code:
//Get the context of the canvas element we want to select
var ctx = document.getElementbyID("myChart").getContext("2d");
var myNewChart = new Chart(ctx).PolarArea(data);
Here getElementbyID should of course be getElementById.
Oops! Well noticed - sorted now.
Same type in documentation. var ctx = document.getElementbyId... var ctx = document.getElementById... Thanks for your work!