The RGraph changelog
This is the page to check for details on what has changed. The changes may or may not be relevant to you.
May 2019 (v5.01)
hmarginproperty has been changed across all libraries to
marginInner. As well as this the
hmarginGroupedproperty has been changed to
marginInnerGrouped. You will need to change your code if you're setting this property otherwise it will revert to the default value.
sketchvariant of the Bar chart has been updated to better respect the
marginInnersetting. There are two examples of this type of Bar chart in the demos in the download archive:
Fixed a bug in the generic
- Added a demo file for boxplots using the canvas Scatter chart.
- Fixed a bug in the Bar chart - the Y axis was missing a tickmark where it joined on to the X axis.
Both the canvas and SVG versions of the Google Sheets connector have been
updated to support fetching a matrix of cells. What does this mean? It
means you'll have to write less code! Previously if you wanted to do
something like this:
sheet.get('B2:E13')you weren't able to - you'd have to do it with a loop of your own creation. Now however this works and simply returns to you a two-dimensional array. Perfect if you want to show a grouped or stacked Bar chart. The PHP version of the Google Sheets connector has also been updated with this feature.
RGraph.parseDate()function has been updated to be the same as the SVG version of the function. This version is far more versatile in 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.parseDateOld()If, for some reason, you want this older version instead of the newer version you should be able to just change
I've added the
exec()function to chart types that it was missing from (eg
A bug has been fixed with the
graphkey mode where the text was specified as bold, resulting in incorrect length measurements being used.
- The RGraph blog 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 been kept - such as the "Spotlight on..." series as well as release announcements.
Changed the name of the Waterfall chart
xaxisLabelsAngle. You'll need to update this in your code if you use it.
Fixed a bug with one of the Pie chart demos which was using the older
Fixed an "off by one" error in the Waterfall
grow()animation effect. This was only really noticeable if you used the
labelsAboveoption for specifying a separator was spelt incorrectly and is now called this:
Past release notes
Older release notes though are not available.
Backwards compatibility notes
There are notifications and advisories regarding bacwards compatibility that you can read here: https://www.rgraph.net/canvas/docs/backwards-compatibility.html