[visualization-api] Re: Export Google Chart in Excel using Javascript ASP.NetC#

2014-09-05 Thread Gaurav Mishra
Thanks Andrew, I need to export using code without any manual activity. On Friday, September 5, 2014 7:43:21 AM UTC+5:30, Andrew Gallant wrote: You have to save the image/octet stream as a .png file and then import the file into Excel. To save the stream as a file, set the src of an img tag

[visualization-api] Re: Export Google Chart in Excel using Javascript ASP.NetC#

2014-09-05 Thread Andrew Gallant
You could use javascript to fetch the URI and send it to your server via AJAX, then have the server convert it to a .png file. On Friday, September 5, 2014 2:09:07 AM UTC-4, Gaurav Mishra wrote: Thanks Andrew, I need to export using code without any manual activity. On Friday, September 5,

[visualization-api] Re: Export Google Chart in Excel using Javascript ASP.NetC#

2014-09-04 Thread Andrew Gallant
You have to save the image/octet stream as a .png file and then import the file into Excel. To save the stream as a file, set the src of an img tag to the URI, then right-click on the generated image and click save as. On Thursday, September 4, 2014 5:09:31 AM UTC-4, Gaurav Mishra wrote: Hi