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.25 of RGraph is now available

Written by Richard Heyes, RGraph author, on 22nd August 2020

After nearly 3 whole months (!) a new version (5.25) of RGraph is now available. This version introduces changes to tooltips. It changes both the default appearance to white on black, adds static positioning (so no matter where you click on a shape the tooltip always appears in the same place) and adds a little pointer that points to the shape that was clicked on. If the tooltips extend off the left or right of the screen they'll be shifted left or right to try and avoid this. You can see an example of the new tooltips style on this demo page.

The date/time library Moment.js is now included with RGraph. This library allows for far greater manipulation of dates and times than the RGraph.parseDate api function. You can read about the Moment.js library and its documentation on its website: https://momentjs.com/

There's now a new macro for tooltips: %{table} which allows you to easily show a table of data in your tooltips. To configure the table there are two new properties: tooltipsFormattedTableHeaders and tooltipsFormattedTableData and you can configure how the table looks by using css in your pages. There are demos of the new table macro in the download archive.

The full changelog is here: The RGraph changelog and you can get the latest zip file on the download page:

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