Version 5.11 of RGraph is now available

Written by Richard, on 12th October 2019

A new version of RGraph has been released

Today is a day to rejoice - a new version of RGraph is available! This version - 5.11 - has the main addition of the responsive function.

` Responsiveness is something that's been somewhat lacking in RGraph thus far - you could do it (by setting the CSS width and height properties on your canvas tag) but now RGraph has a much better way - the responsive function.

This new function allows you to set the canvas (or 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 650x300 to 400x200 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 canvas/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.

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