之前一直没发现,一个页面有生成的表格和sochart图,右击表格后,sochar图就没了~
<vbox id="databox" >
<vbox id="tablebox" width="100%" height="50%" minHeight="20em"/>
<vbox id="chartbox" width="100%" height="50%" minHeight="20em"/>
</vbox>
// 图形
SOChart soChart = createChart(bodyExt);
// Add to the view
// Tab chartTab = (Tab)datatab.getComponentAt(0);
chartbox.removeAll();
chartbox.add(soChart);