There is no good way to handle this particular problem with ChartWrappers,
as they only store the query URL - there is no way to get the actual data
returned from the query. You'll have to run a separate query to get that
data, like this: http://jsfiddle.net/Q52Wj/, or you can query once and use
a DataView to filter the columns fed to the ChartWrapper, like this:
http://jsfiddle.net/Q52Wj/1/
On Wednesday, April 4, 2012 10:04:28 AM UTC-4, Philco wrote:
>
> Sure. Here's my code for the chart. I'm just using a range for that
> (A-C.) The Cell I want to display as a string is H3.
>
> google.setOnLoadCallback(drawVisualization);
>
>
> table.draw(data, {allowHtml: true, showRowNumber: true});
>
> function drawVisualization() {
> var wrap = new google.visualization.ChartWrapper({
> 'chartType':'ColumnChart',
> 'dataSourceUrl':'
> http://docs.google.com/spreadsheet/tq?key=0AloeFMKsy0qqdExPN0lVRHR0MGU1OWxqVFJWR1VMdHc&range=A1%3AC6&headers=-1&pub=1
> ',
> 'containerId':'visualization',
> });
>
> wrap.draw();
>
> }
>
--
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/-/D5OOZEWTxqMJ.
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.