PDA

View Full Version : [FIXED] AbstractChart - document storechange event



LesJ
29 Apr 2015, 12:29 PM
I'd like to point out a few problems with the storechange event. I'm assuming this event is public.
Document the storechange event.
Add me (chart) as the 1st param.
The event should also fire on the series object and be relayed to the chart object, so it can be listen to in the view controller.

Ext.define('Ext.chart.AbstractChart', {
...
updateStore: function (newStore, oldStore) {
...
// me.fireEvent('storechange', newStore, oldStore);
me.fireEvent('storechange', me, newStore, oldStore); // <-- add me as the 1st param
me.onDataChanged();
},
...

mitchellsimoens
1 May 2015, 9:47 AM
Thanks for the report! I have opened a bug in our bug tracker.