PDA

View Full Version : Chart substore issue with Latest ExtJS 4.1.0



sarabjeetd
10 May 2012, 11:22 AM
When the Line series calls chart.getChartStore() on the chart, it returns this.substore if it exists. In the latest version of ExtJS, the substore is initialized with 3 empty records whereas the store member has the real data. How can I fix this problem?

Chart.js line: 362


getChartStore: function(){
return this.substore || this.store;
},

sarabjeetd
10 May 2012, 12:04 PM
By setting constrain: false fixes the problem.