Version 5.01 of RGraph is now availableWritten by Richard Heyes, RGraph author, on 27th May 2019
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:
hmarginproperty has been changed to
marginInneracross all of the libraries - so if you use it you will need to update your code.
svgversions 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.
RGraph.parseDatefunction has been updated to be the same as the
svgversion 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.jsfile and has been renamed to
RGraph.parseDateOldIf, for some reason, you want this older version instead of the newer version you should be able to just change
- 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
textAngleproperty has been changed to
xaxisLabelsAngle. You'll need to update this in your code if you use it.