score:1

Accepted answer

finally i solved with a workaround .. using window settimeout() method:

 var ctx = $("#mychart");
var mychart = new chart(ctx, chart);

function alertfunc (chart) {
    chart.options.sort = true;
    chart.update();
    chart.options.sort = false;  
}

window.settimeout(function () { alertfunc(mychart); }, 2000)

score:0

i had a same problem. fixed it by change animation.duration from 0 to 0.1:

chart.options.animation = {      
   duration: 0.1,
   ...
}

Related Query

More Query from same tag