About
RGraph is a JavaScript charts library based on
HTML5 SVG and canvas. RGraph is mature (over 18 years
old) and has a wealth of features making it an ideal
choice to use for showing charts on your website.
Version 7.20
Version 7.20 (released in June 2026) is the
latest version of RGraph and the major change in
this version is an update to the default values
of properties making for better looking charts without
having to set any properties.
Read more about this and other changes in
the changelog.
Download
Get the latest version of RGraph (version 7.20, 9th June 2026) 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.
Latest forum posts
These are the latest support forum posts that have been
posted or updated.
9th June, Richard
New version of RGraph: version 7.20
3rd June, Patrick
Question about installing RGraph
1st June, Ouja
How do I add a click event to a bar in my Bar chart?
8th May, Anthony Kuma
Does the SVG Line chart have outofbounds functionality?
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.Version 5.01 of RGraph is now available
Written by Richard Heyes, RGraph author, on 27th May 2019It'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
hmarginproperty has been changed tomarginInneracross all of the libraries - so if you use it you will need to update your code. -
Both the
canvasandsvgversions 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
canvasRGraph.parseDatefunction has been updated to be the same as thesvgversion 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 theRGraph.common.core.jsfile and has been renamed toRGraph.parseDateOldIf, for some reason, you want this older version instead of the newer version you should be able to just changeRG.parseDateOld =toRG.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 charttextAngleproperty has been changed toxaxisLabelsAngle. You'll need to update this in your code if you use it.