I'm working on a web application that uses JavaScript to generate a series of graphs. This triggers a redraw that takes approximately 1 second. I'm trying to display some sort of loading animation during the redraw to provide visual feedback and help show the user that the page has continued to function. I've tried to add CSS animations to the page, but they freeze while the redraw takes place. Is there any way to avoid these animations freezing during the redraw?
Asked
Active
Viewed 254 times
0
-
Do you use pure JavaScript or does generating your graph involve ajax, too? – Basit Aug 12 '14 at 05:50
-
I'm using canvases to generate images and then using the toDataURL method to create image objects. I'm not simply using canvases because that kept causing safari to crash. – superlizardmo Aug 12 '14 at 06:10
-
Also, no AJAX in the graph generation, all the data is stored locally. – superlizardmo Aug 15 '14 at 05:50