I'm trying to figure out how to use more than one instance of the same
type of visualization on a single page. I've tried this using code
adapted from the 'Full HTML Page Example' with only partial success.

I'm trying to display two piecharts, each pulling data from different
columns in the same Google Docs spreadsheet. The closest I've come so
far, by simply repeating the javascript, does display two piecharts,
drawn from the data I want, but with the chart title duplicated. (See
http://www.metasea.com/hed/samplemod6.html -- the title for the first
chart should be 'London ticket sales.')

For some reason, the code for the first chart seems to be ignored in
the browser (the div containing it is blank) while the code for second
chart is being executed *twice.* What's even more puzzling to me is
that the code that *does* display pulls data from the different
spreadsheet columns, exactly as I want, yet repeats the chart title.

I've tried consolidating the javascript in ways that seem plausible to
me -- although I'm no javascript expert, so I might have missed
something --  but the result is no charts displaying at all.

Anyone have insights as to what I'm doing wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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