Version 5.28 of RGraph is now available
Written by Richard Heyes, RGraph author, on 1st March 2021Happy release day! Both of you! The time has come, after two whole months, to bring out a new version of RGraph - version 5.28.
Not much has changed in this release but there are three new meters available - the Activity meter, the Horseshoe meter, and the Segmented donut. The Activity meter can show multiple values whilst the other two can both show a single value.
All of the new meters have different aesthetics and the Activity meter can be further customised to look how the old Radial Progress meter looked. There's a demo of this in the download archive.
Other changes include the addition of new and renames of existing properties for labels, additions
to the default colors of the Bipolar chart
, improvements to tooltip positioning for the Bar,
Bipolar, Horizontal Bar and svg
Bar charts
and the addition of a css
class for the x-axis
labels (this may help when trying to retrieve the label dom
nodes with the api
function
document.getElementsByClassName
).
You can read the full list of changes on the changelog page and you can download RGraph as usual from the download page.
What's next for RGraph? Well - I'm planning to update the version number of RGraph from 5.28 straight up to 6.00 for the next release.
There won't be any ground-breaking changes - it will be a significant version increment
because from the next release I plan to start using javascript
es6
features in the RGraph code.
This does not mean, however, that I'll be going back through all of the libraries and altering
things. I plan to simply start making use of the new language features in new code. Some of the
new features of es6
that look interesting are:
- Array and object destructuring
- Block scoping for variables
- Arrow functions
- Rest parameters
- for/of loops