Mention RGraph on Twitter

RGraph: HTML5 Javascript charts library - Resizing your charts

[No canvas support]

 

RGraph has the facility to allow you to resize your charts. This is new as of 10th April 2010. Because of the numerous events it has to install code on, it is unlikely to work with other dynamic features. The context menu does though, and now that tooltips use DOM2 events, so do they. It can be useful if you are, for example, doing a presentation and need to enlarge the chart.

All you need to do to enable it is set chart.resizable to true. There are certain caveats that you should be aware of though: