according to the I/O 2011 (London GTUG) this feature is supposed to be
supported in the future for ChartWrapper (
http://www.battlehorse.net/wontlast/gtugChartsLondon/index.html#27),
however I don't think it's supported at the moment.

I know for myself, that I need this feature for exporting charts as images.
If you'll find a way to make it work, please let us all know.



On Mon, Oct 31, 2011 at 1:10 PM, Eric <[email protected]> wrote:

> I am using the html examples at
> http://code.google.com/apis/ajax/playground/#line_chart
>
> This html I paste into a server page.
>
> How do I load the appropriate libraries and call the methods in order to
> serialize the chart produced?  Please could someone refer me to a *working
> example*
> of html/javascript for this.
>
> I am able to implement this with the examples given for serialization and
> email but then only as a function in a script editor.
> I believe this has to do with my lack of understanding of the javascript
> and the loading of libraries with google.load.
> When I try to include the following code in an html page in the , I get
> "unexpected Identifier"
> or "unknown method getBlob".
>
> First I change the line
> new google.visualization.LineChart( ...
> to
> var myChart =  new google.visualization.LineChart(...
>
> Then in the main function of the linechart example, add the stanzas;
>
> var chartBlob = myChart.getBlob().getBytes();
>
>        var chartFile = [{fileName: "chart.png",
>                          mimeType: "image/png",
>                           content: chartBlob}];
>
> I would appreciate advice on how to implement this correctly.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/-HUmK2on2vwJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to