PDA

View Full Version : ExtJS 4 chart remove store or series?



senatorsfc
28 Aug 2011, 1:10 PM
Hello!

I have a chart that needs to be refreshed because the store changes.

When I use "chart.bindstore(store)" , it adds the new data and redraws the chart, but the old data is still showing, the x and y axes are duplicated. How do I clear the graph before binding a new store?

Thanks

sdruckerfig
29 Sep 2011, 9:48 AM
Why are you binding to a different store? If you simply load the store that had been bound initially to the chart, the chart will auto-refresh to reflect changes in the dataset.