Chartjs-How to replay animation chart.js

0๐Ÿ‘

Iโ€™m not aware of how to do this within chart.js but if you provide code I maybe able to help further.

You could put your chart within a setInterval, if you create it outside the setInterval it will be shown on page load and then again within the setInterval and it will be repeated at the specified time.

Further information on setInterval is available here โ€“ http://www.w3schools.com/jsref/met_win_setinterval.asp.

Leave a comment