Hi there,
I am also stuck with exactly the same problem, can anyone help please?
Regards,
Wesley
On Tuesday, 5 June 2012 13:18:39 UTC+2, shub wrote:
>
> Hi,
>
>
> I have implemented google charts with live data coming from the
> server. Now I have to add a functionality to export the data into CSV file.
> I am able to get the dropdown select box with Export to cs, but am not sure
> what to pass into the dataSource url.
>
> function drawToolbar() {
> var jsonData1 = $.ajax({
> url: "myphpurl.php'",
> dataType:"json",
> async: false,
> }).responseText;
>
> var components = [
> {type: 'csv', datasource: '????'}
> ];
> var container = document.getElementById('toolbar_div');
> google.visualization.drawToolbar(container, components);
> }
>
> I tried with the json responce but its not working ...
>
> Can anyone please help me to solve this issue....
>
> Thanks in advance.
>
>
>
>
>
>
>
>
>
--
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/-/wnD1SUw_ZZMJ.
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.