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/-/34Ml2n9EK5EJ.
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.