1👍
I’ve updated your code in this jsfiddle to use the destroy()
function.
Using update()
doesn’t seem reset the animation.
Using destroy()
removes the chart and then your code will recreate the new chart (and animation)
PS: Sorry for changing to jsfiddle from JS Bin. I was having troubles editing in JS Bin.
Source:stackexchange.com