不设置height的话 默认是占满当前区域的,但数据多的时候会出现一些数据省略了
如:
2,4,6等就没有显示出来,所以必须根据结果集的个数动态设置height
store.load({ params : { }, callback : function(r, options, success) { chart.setHeight(store.getTotalCount()* 30); } });
不设置height的话 默认是占满当前区域的,但数据多的时候会出现一些数据省略了
如:
2,4,6等就没有显示出来,所以必须根据结果集的个数动态设置height
store.load({ params : { }, callback : function(r, options, success) { chart.setHeight(store.getTotalCount()* 30); } });