PDA

View Full Version : if the one of slice in pie chart is 100%, chrat break up.



koohzi
2 Apr 2012, 6:22 PM
hi all,

if the one of slice in pie chart is 100%, chrat break up.

It can try on below.

1. open pie chart example
http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/charts/Pie.html

2. open firebug, and enter the code
Ext.getCmp('chartCmp').store.getAt(0).set("data1", 0)

3. and so on
Ext.getCmp('chartCmp').store.getAt(1).set("data1", 0)
Ext.getCmp('chartCmp').store.getAt(2).set("data1", 0)
Ext.getCmp('chartCmp').store.getAt(3).set("data1", 0)
Ext.getCmp('chartCmp').store.getAt(4).set("data1", 0)


Execution of the above will move chart to a right end.
is this bug?


regards,

scottmartin
3 Apr 2012, 9:26 AM
This has corrected in the RC1+

Regards,
Scott.

koohzi
3 Apr 2012, 5:49 PM
thanks

finally, It solved by transplanting to Pie class from extjs4.1RC1.