Is there a way to resize my chart in a web browser and the iPad browser?

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Tony Murphy on 17th February 2013

Is there an easy way to resize the graphs when the browser is re-sized and also when they are displayed on tablet devices such as iPADs and Androids?

Posted by RGraph support on 18th February 2013
Hi there,

There's no "built in" way, but you could add a window.onresize event listener that resizes the canvas when the window is resized. Make sure you set the HTML size attributes though - not the CSS styles. Then, since resizing the canvas will clear it, you will need to call



Add a reply

« Back to message list