jmix 2.0 引入socharts

之前一直没发现,一个页面有生成的表格和sochart图,右击表格后,sochar图就没了~

image

image

    <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);

能提供一个可重现的小项目吗?

好不容易做了个demo,发现效果还行,没有遇到类似问题,我自己再看看吧 :cold_face:
image