Changed the timeout to an onAnimationComplete function which is built into chart.js