There are two ways to do this:

1) if you are getting data from a server, modify the data source to provide 
a CSV of the data on demand (in addition to providing the data in the way 
you usually get it).
2) if that is not feasible, you can use this hack I wrote to accomplish 
something similar: http://jsfiddle.net/asgallant/MqERY/3/ (the relevant 
code is down at the bottom, in the "ready" event handler).  The hack isn't 
perfect, but it does work.

On Monday, December 10, 2012 10:21:08 AM UTC-5, Neri Martinez wrote:
>
> I have some charts with google visualization
>
> i saw an answer to export to csv, but uses an url. Am using grails and 
> charts dataset are provided by code, not by url.
> i mean using : 
> https://developers.google.com/chart/interactive/docs/gallery/toolbar
>
> how can i export to csv the data without using and url? just export 
> datatable data.
>
> Thanks!
>

-- 
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/-/4y3oJPM95vUJ.
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