My understanding is that the octet stream is independent of any session 
state - it simply represents an image of the chart at the moment you called 
the #getImageURI method.  You should be able to save the octet as a .png 
file and store a link to the file in your database, or store the octet 
stream itself in your database.

On Monday, September 1, 2014 10:34:27 AM UTC-4, simran kaur wrote:
>
> @Andrew: The getImageURI() basically gives the octet data, I suppose that 
> would be rendered non functional once we close the session? No? Forthat 
> reason, wouldnot I need to convert the PNG into bytestream? Or is it 
> possible that I directly store that getImageURI() in the database to be 
> accessed later?
>
> On Monday, 1 September 2014 19:53:38 UTC+5:30, Andrew Gallant wrote:
>>
>> You have to render the chart at least once to get the image/octet stream 
>> (that you can view or save as a .png file).  Once you have that URI, you 
>> can do whatever you want with it (including save it in a database to serve 
>> up later).
>>
>> On Sunday, August 31, 2014 6:32:38 AM UTC-4, simran kaur wrote:
>>>
>>> Hi,
>>>
>>>    My requirement is to get the link to PNG image of Google Charts 
>>> without rendering it on webpage. My intention is to store the link to PNG 
>>> image in the database(prior to rendering it on webpage) and using this link 
>>> from the database to render the PNG image on the webpage. 
>>>
>>> Is that possible?
>>>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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