双击按扭后,重新设置属性并生成一下chart,怎么做呢?
var chart = Ext.create('Ext.chart.Chart',{
store:pieRoomTypeStore,
animate: true,
id:'chart',
width:420,
height:200,
insetPadding:30,
legend:{position:'right'},
series:[
{
type:'pie',
field:'numberdata',
showInLegend:true,
donut: 21,
highlight:{segment:{margin:20}},
tips: {
想图形显示后,再把series里面的donu:赋值为40
----------------------------
chart.series.donut=40;
chart.render();
chart.show();
这样设置一个chart的属性,然后重新刷新生成新chart,怎么没有效呢