Version 5.01 of RGraph is now available

Written by Richard, on 27th May 2019

A new version of RGraph has been released

It'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 to marginInner across all of the libraries - so if you use it you will need to update your code.
  • Both the canvas and svg 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 the svg 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 the RGraph.common.core.js file and has been renamed to RGraph.parseDateOld If, for some reason, you want this older version instead of the newer version you should be able to just change RG.parseDateOld = to RG.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 to xaxisLabelsAngle. You'll need to update this in your code if you use it.

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