Multiple Charts on Same Page

1,410 views
Skip to first unread message

Rachel

unread,
Aug 9, 2011, 9:30:43 AM8/9/11
to Google Chart API
Ultimately, I'm going to need 4 charts (2 line graphs and 2 google-o-
meters) on a single webpage. However at the moment when I test this
just using one of each, I can only get one graph to show up at any
given time. I've made sure to change the div id so they're all
different (changing the javascript as well) but still, only one chart
will show up. Am I missing something obvious or is this not possible?

duniyadnd

unread,
Aug 21, 2011, 4:22:01 PM8/21/11
to google-c...@googlegroups.com
Are you referring to the Visualization Charts using Javascript? or the ones that you create through images? if it is the latter, it shouldn't matter as you're calling in URLs and it should populate in the respective elements on the page. For Visualization, the documentation talks about which packages you can and cannot load together. e.g. http://code.google.com/apis/chart/interactive/docs/gallery/columnchart.html#Loading

If you're talking about visualization chart API, go to the following groups, you'll probably have better luck there. https://groups.google.com/forum/#!forum/google-visualization-api
Reply all
Reply to author
Forward
0 new messages