mercredi 19 mars 2014

[OPEN] Remove chart series bug

Hello,



I'm working on a line chart and it was expected to add and remove series dynamically according with the field selected by the user. The problem is that when I remove a series and execute chart.redraw() the line still there.



Initially I posted this problem in this thread link and we agreed that it might be a bug in the ExtJS.



One way to try this problem is with this page opened, run the follow code in the console:




Code:



var chart = Ext.ComponentQuery.query('chart')[0];

chart.series.removeAt(0)

chart.redraw()



http://ift.tt/1hB0weS




Aucun commentaire:

Enregistrer un commentaire