How to add labels into Chart.js canvas plugin?
You’ll have to add code in 2 places. As an example, take the doughnut. First add label info to the defaults (look at the original Chart.js code and compare with this): chart.Doughnut.defaults = { segmentShowStroke : true, segmentStrokeColor : “#fff”, segmentStrokeWidth : 2, percentageInnerCutout : 50, animation : true, animationSteps : 100, animationEasing : “easeOutBounce”, … Read more