Is there any way to set an event listener on when animation is finished on Highcharts redraw? From what I see, a redraw
event fires immediately on change, without waiting for animation. Or maybe there's some other way to wait for when the chart has become still?
Besides, is it possible to add an event listener to the chart that's already rendered (e.g. via addEventListener
, not by JSON configuration)?
You can catch animation event and set complete function.
plotOptions: {
series: {
animation: {
complete: function () {
console.log('a1');
}
}
}
},
http://jsfiddle.net/G63h4/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With