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.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: