I am using Chart.js. I am trying to convert the chart to an image by getting a base 64 string. The tutorial (http://www.chartjs.org/docs/) devotes an entire 1 line on the to
The chart seem to be async so you will probably need to provide a callback when the animation has finished or else the canvas will be empty.
var options = { bezierCurve : false, onAnimationComplete: done /// calls function done() {} at end };