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 use for showing charts on your website.

More »


Get the latest version of RGraph (version 6.18, 1st June 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.

More »


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 »

Version 5.02 of RGraph is now available

Written by Richard Heyes, RGraph author, on 1st August 2019

Today I've released a new version of RGraph - version 5.02. This is a minor release with no massive or really significant changes. Here's a list of the more significant changes - for the full list then you can visit the changelog.

  • Improvements to the canvas RGraph.path function (formerly RGraph.path2) arguments handling.
  • Improvements to the canvas and svg String.format functions that RGraph adds to the native String object.
  • The Pie chart Horseshoe Meter example has been converted to its own class. So making one looks like this now:
    new RGraph.Horseshoe({
        id: 'cvs',
        min: 0,
        max: 100,
        value: 67,
        options: {
  • The RGraph.text function (formerly the RGraph.text2 function) now takes just a single argument - so it looks like this:
        object: bar,
        x: 50,
        y: 50,
        text: 'Some custom text'
  • Some demos didn't work correctly offline - this has been resolved.
  • You read the full list of changes over on the RGraph changelog and download the release on the download page.