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 »


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 »


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 »

Version 5.11 of RGraph is now available

Written by Richard Heyes, RGraph author, on 12th October 2019

Today is a day to rejoice - a new version of RGraph is available! This version - 5.11 - has the main addition of the responsive function.

` Responsiveness is something that's been somewhat lacking in RGraph thus far - you could do it (by setting the css width and height properties on your canvas tag) but now RGraph has a much better way - the responsive function.

This new function allows you to set the canvas (or svg) tag width, and height and update the chart properties as you need in order to accommodate smaller screens.

For example you could reduce the size of your chart from 650x300 to 400x200 and then change the options which have been set on the chart.

There's also an easy way to update the css properties of the canvas/svg tag and its parent tag. And you can also specify a callback function to run after the chart has been redrawn.

Other changes can be viewed on the changelog and you can download the new version on the download page.