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 »

 

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

More »

 

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

More »

Version 5.01 of RGraph is now available

Written by Richard Heyes, RGraph author, on 27th May 2019

It's been four months and feels like longer but version 5.01 of RGraph has finally been released. This version is not nearly as comprehensive as version 5.00 was - naturally. It also "finishes things off" that I missed in the long road to version 5.00.

So what has changed? For that you should consult the RGraph changelog. This release also has a few backwards-compatibility changes so you'll also want to consult the backwards-compatibility notices and advisories page too - particularly if you're upgrading from a prior version.

Some of the changes include:

  • The hmargin property has been changed to marginInner across all of the libraries - so if you use it you will need to update your code.
  • Both the canvas and svg versions of the Google Sheets connector have been updated to support fetching a matrix of cells - such as this: sheet.get('A2:E12')

    This returns a matrix of cells (ie a 2D array), so this means that you have to write less code when using the Sheets library. The PHP version of the accessor has also been updated.

  • The canvas RGraph.parseDate function has been updated to be the same as the svg version of the function. This version is far more versatile when parsing date and time values so more date and time formats are accepted.

    The older version of the function is still in the RGraph.common.core.js file and has been renamed to RGraph.parseDateOld If, for some reason, you want this older version instead of the newer version you should be able to just change RG.parseDateOld = to RG.parseDate =

  • The RGraph blog (that you're currently reading) has been changed to an RGraph news repository and will be treated as such from now on and only significant announcements will be added there.

    It has also been trimmed down from about 100 entries to just 20-25. A few articles have also been kept - such as the "Spotlight on..." series as well as release announcements.

  • The name of the Waterfall chart textAngle property has been changed to xaxisLabelsAngle. You'll need to update this in your code if you use it.

https://www.rgraph.net/download.html#stable