New Bar chart Wave effect


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Richard on 4th June 2014
Hi,

The Bar chart Wave effect is not the fastest of effects on all platforms. Only really usable on faster desktop environments. This is due to its use of the setTimeout() function in order to delay the animation of the bars. So in a Bar chart with 20 bars there will be 20 timers running simultaneously. This takes its toll on less powerful computers. So because of this the effect has now been rewritten to remove the timers so now there is just one loop - which uses the faster, more modern function requestAnimationFrame(). Once the next beta has been made available you'll be able to see the rewrite here:

staging.rgraph.net/demos/effects-bar-wave.html (guest/password)

NOTE: Currently it's the old, slower version; the newer rewrite will be available when the next beta is made available.





Richard

Add a reply

 




« Back to message list
RGraph on social media