I have several content panels, which I switch between, and several of them have charts. (ie. they use the google visualization api).
The problem is that the first time you view a panel the chart displays, but then when you switch back to it later the chart does not display. It just shows up as blank.
The solution I have currently is to just recreate the chart and set its widget to the correct location in the grid I am using. However, this seems like overkill…
Is there a better way to do this?
Yes that’s somehow a known problem.
Currently with google chart tools in GWT you have to re-create the charts when they are detached or any parent container element is detached.
There is no workaround AFAIK.