score:-1

you have to call save64Img(myChart.toBase64Image()) over an additional callback. You can add this callback to the options

lineOptions = {
    onAnimationComplete: function () {
       save64Img(myChart.toBase64Image());
    }
}

score:1

I know that it's been awhile since you have asked the question, but in the Chart.js v2 you have to use onComplete method within the animation option.

animation: {
    duration: 1500,
    onComplete: function (animation) { 
        this.toBase64Image();
}

Related Query

More Query from same tag