I've been working through the documentation quite a bit for the last few
days. I can query my google spreadsheet and produce a chart with the
query.setQuery (); to return a specific group of data (through SQL-like
request).
However what I would like to do is load my entire spreadsheet as the
datatable, then query it for each specific visualization (each viz needs
different data).
For example, instead of dataSourceUrl below, what can I do to query the
dataTable instead?
function drawVisualization() {
google.visualization.drawChart({
"containerId": "visualization_div",
"dataSourceUrl": "link to google spreadsheet",
"query":"select G, count(H) group by G",
..........
Or is there an option to query within the following code
var chart2 = new
google.visualization.BarChart(document.getElementById('chart2_div'));
chart2.draw(data, {width: 600, height: 400, is3D: true,})
Thanks for any help you can provide.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.