II'm adapting the code to work with google charts and everything its OK minus
the php area. My server is IIS and I have trouble decoding the image data and
returning it to the client. Do you know some example about IIS asp.net svg
data-> client?

Thanks in advance


2013/3/6 Thomas Rybka <[email protected]>

> You can't do it entirely from the client-side, but if you had a server,
> you could do it on the server-side.
>
> Here's an example using some PHP:
>
>
> http://greenethumb.com/article/1429/user-friendly-image-saving-from-the-canvas/
>
> They submit the image data to their backend which wraps it appropriately
> and gives back a file with a good filename.
>
> -Tom
>
> Thomas Rybka | Software Engineer | [email protected] | GViz
>
>
> On Wed, Mar 6, 2013 at 8:28 AM, asgallant <[email protected]>wrote:
>
>> No, you can't set the name of the file download.
>>
>>
>> On Wednesday, March 6, 2013 8:04:36 AM UTC-5, Sergio wrote:
>>>
>>> Is it possible to change the file name before it is downloaded??
>>>
>>> Thanks in advance
>>>
>>> El martes, 2 de octubre de 2012 20:49:08 UTC+2, trybka escribió:
>>>>
>>>> The previous code did not work in IE8 before the newest release, though.
>>>>
>>>> You can verify by changing the package loader to load '1.30' instead of
>>>> '1' to get the old iframes behavior with the 'chartArea' div that the
>>>> script used before.
>>>>
>>>>
>>>>
>>>> On Tuesday, October 2, 2012 2:45:59 PM UTC-4, asgallant wrote:
>>>>>
>>>>> It will never work in IE < 9, as they use VML instead of SVG.  You
>>>>> would need a completely different method to save charts as images from 
>>>>> VML.
>>>>>
>>>>> On Tuesday, October 2, 2012 2:41:58 PM UTC-4, Patrike wrote:
>>>>>>
>>>>>> Thanks for the replies:
>>>>>>
>>>>>> In IE8 the http://jsfiddle.net/SCjm8/1/ gives me a javascript error
>>>>>> and both functions did not work
>>>>>>
>>>>>> In Firefox 15.0.1 when i click in generate png... it generates a
>>>>>> random file (ie: 1Q3mAK86.part) but if i rename it to anything.png it
>>>>>> works. The convert to image works.
>>>>>>
>>>>>> Thanks again.
>>>>>>
>>>>>  --
>> 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?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Visualization API" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-visualization-api/YTD_JxX_RFc/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to