About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 years old) and has a wealth of features making it an ideal choice to show charts on your website.

More »

 

Download
Get the latest version of RGraph (version 6.17) from the download page. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

More »

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

Plans for version 5.1 of RGraph

Written by Richard Heyes, RGraph author, on 29th July 2019

For the next version of RGraph - version 5.1 - I think I'm going to remove a lot of redundant legacy code. Some of the code in RGraph has been there for over a decade in order to preserve backwards compatibility.

But because it's so old and the current configuration style has been in place for some time it's no longer necessary and is only taking up space (like myself some would say...)!

So the current json configuration is the only one that will be available but it's the best so there's no great loss.

Here's a short list of what's going to be taken out. It doesn't look like a lot but there will be a lot of testing that will be necessary and a lot of documentation pages will need updating because behind the scenes they use an older configuration style.

  • Older configuration methods will be removed so only the current JSON style configuration will work.
  • The unused obj.propertyNameAliases will be removed.
  • The function RGraph.OldBrowserCompat will be removed.
  • The property list in each library will be updated to be json, like the svg libraries.
  • The set methods will be updated to only allow the json and new property name formats (eg .set({backgroundGrid: false}) or .set('backgroundGrid', false) ).
  • The set method will have any redundant BC code removed.
  • The get method will also have redundant BC code removed.

This will be the main focus of version 5.1 - possibly the only thing that's in the release (though a few other minor things may sneak in). If you have any other suggestions then let me know what they are using the support forum.