Afaik, the toolbar with csv export only works with data coming from google 
spreadsheets, but it is planned to have a local data export with the next 
API release

Le lundi 16 juillet 2012 10:24:25 UTC+2, Wesley Chin a écrit :
>
> 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/-/70gs7FY7E08J.
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