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 use for showing charts on your website.
Download
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.
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
hmargin
property has been changed tomarginInner
across all of the libraries - so if you use it you will need to update your code. -
Both the
canvas
andsvg
versions 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
canvas
RGraph.parseDate
function has been updated to be the same as thesvg
version 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.js
file and has been renamed toRGraph.parseDateOld
If, 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 chart
textAngle
property has been changed toxaxisLabelsAngle
. You'll need to update this in your code if you use it.