Thanks for the quick response, but I still can't get these things to hide in the tabs. I used your js, which was a good tip, but the issue seems to be that if you call the tabs method at any point after starting a drawViz function then the divs act like they can't support that method. Any insight?
New code here: http://media.hamptonroads.com/media/content/pilotonline/2011/10/charts.html On Feb 8, 8:52 am, asgallant <[email protected]> wrote: > 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 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.
