Chartjs-Changing default values for Chart JS

3👍

You might want to get rid of your extra comma in the options object and then pass in options as a second parameter into the Pie method:

var options = {
  animation : false
};    

var myPie = new Chart(document.getElementById("canvas").getContext("2d")).Pie(pieData, options);

Leave a comment