MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 16 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Download
Get the latest version of RGraph (version 6.20, 1st December 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.

Download »

 

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

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