How to export RGraph into excel

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Pratibha on 25th April 2014
can we achieve graph export into excel using javascript or any client side coding
Posted by Richard on 25th April 2014
Hi there,

You can save the canvas as an image:

Or you can save the canvas on to your server with jQuery:

Or alternatively Firefox has a context menu option to save the canvas as an image. If you go down that route you'll need to clear the background color to white first - otherwise it will end up being black. You can do that with:

obj.on('beforedraw', function (obj)
     RGraph.clear(obj.canvas, 'white');

If RGraph has helped you - please share the website - thanks!

RGraph Priority Support:

Add a reply

« Back to message list