I’m trying to drow some charts using AmCharts in a GWT project.
I use this code
public native void paille(int i) /*-{
var params = {
bgcolor : "#FFFFFF"
};
var flashVars = {
path : "amcharts/flash/",
settings_file : "sampleData/pie_settings.xml",
data_file : "sampleData/pie_data.xml"
};
$wnd.swfobject.embedSWF("amcharts/flash/ampie.swf", "page_"+i, 600,
400, "7.0.0", "amcharts/flash/expressInstall.swf",
flashVars, params);
}-*/;
The chart appeares but when I try to use the TabPanel tabs, I get the UmbrellaException.
Have you any solution for that?
I’d thank everybody for answers. I found the root problem that I want to share.
I was using this code to set the id of DOM:
I shouldn’t do that, I should create add the id to a flowPanel like this code
I set resolved