PDA

View Full Version : Google Visualizations Integration Problem



pglebow
11 Mar 2009, 10:29 AM
I'm having difficulty using multiple visualizations with Ext GWT. Within a TabItem, I have 3 vertical panels, each with a separate Google Visualization (BarChart, AnnotatedTimeLine, IntensityMap).

The hierarchy is like this:

TabItem
-->VerticalPanel
---->Visualization Component

When the page is displayed, the AnnotatedTimeLine and IntensityMap visualizations appear but the BarChart does not. When I select a different tab and then return to the tab that contains the visualizations, they appear briefly. Navigating to a different tab, however, causes the BarChart to disappear.

PieChart also exhibits the same behavior.

Is there a different containment hierarchy that I should follow to get this to work?

pglebow
11 Mar 2009, 12:49 PM
I've replaced the Ext GWT Tab Panel with the standard GWT tab panel and, once I programmatically selected a tab, everything rendered correctly.

Is there an Ext-GWT solution to this problem? I'm using version 1.2.3.

sdc
12 Mar 2009, 1:49 AM
Ext team was considering the integration of Google Visualizations for release 2.0 : http://extjs.com/forum/showthread.php?p=247953#post247953
But we have no news since.