Version 5.11 of RGraph is now availableWritten by Richard, on 12th October 2019
Today is a day to rejoice - a new version of RGraph is available! This version - 5.11 - has the
main addition of the
` Responsiveness is something that's been
somewhat lacking in RGraph thus far - you could do it
(by setting the
canvas tag) but now
RGraph has a much better way - the
This new function allows you to set the
svg) tag width, and height and update
the chart properties as you need in order to accommodate smaller screens.
For example you could reduce the size of your chart from
and then change the options which have been set on the chart.
There's also an easy way to update the
CSS properties of the
svg tag and its parent tag.
And you can also specify a
callback function to run after the chart has been redrawn.
Other changes can be viewed on the changelog and you can download the new version on the download page.