Charts often don't render properly (especially in IE) when drawn in hidden divs (which is what the second tab is). You'll have to initialize your tabs *after* all the charts are finished drawing. Also, you only want to call the google#setOnLoadCallback() method once - you can use that to call an initializing function that calls all your other functions. I did up a quick-and-dirty rewrite for you: http://jsfiddle.net/WFG9c/
I also noted that you are drawing both data sets from the same fusion table, so you could combine those queries into a single query and use views to filter out the columns you don't want for a particular chart. You could even use a Dashboard, which would alleviate the problem of tracking which charts are finished drawing (as, IIRC, the 'ready' events for each chart bubble up to the Dashboard, so you only need to register the event handler for the Dashboard). -- 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/-/tNMEDxlEdiIJ. 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.
