RGraph is a JavaScript charts library based on
HTML5 SVG and canvas. RGraph is mature (over 16 years
old) and has a wealth of features making it an ideal
choice to use for showing charts on your website.
Get the latest version of RGraph (version 6.20, 1st December 2024) from
the download page. You can read the changelog here. There's also older versions available,
minified files and links to cdnjs.com hosted libraries.
The SVG Bar chart wave effect is not working with the responsive function
Posted by Harry at 17:16 on Monday 18th January 2021[link]
I'm trying to draw a Bar chart with the wave effect and also the responsive function.
The Bar chart with wave effect by itself works OK - however when I add the responsive function it behaves slightly differently - like its being drawn first and then animating.
Posted by Richard at 18:13 on Monday 18th January 2021[link]
Interesting. This appears to be due to multiple redraws - one by the responsive function and another by the wave effect.
After a while playing around with this I've come up with this solution, which configures the chart and then after a small delay calls the wave effect. Initially the color is set to transparent and then set to red after the delay and just before the effect starts.