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, 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 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 All,
>>>
>>> I am using Google Chart in a web Application. I want to export Google 
>>> Chart  in Excel. Google Chart Provides Image Data as *data:image/png* 
>>> followed 
>>> by coded string  (“*data:image/png;base64,iVBO…*” ). It is easily 
>>> rendered in  HTML and PDF(using JsPDF ) but not working in excel export 
>>> using html.  Please Assist me.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to