View Full Version : Chart store - substore issue

14 Jun 2012, 9:59 AM
I have a chart which has a method getChartStore(). This method returns this.substore if one is present. Unfortunately, the substore has data records but with no values. What is the purpose of substore and how can I set it so that it does not have empty values.
I know that I can set chart.constrains to false to avoid this issue but I need to set constrains to true.
I am using Ext JS 4.1.

14 Jun 2012, 6:14 PM
I am not sure I follow your statement.. you have records, but no values?
Where do you see this? .. in the console? Are your field names correct?


15 Jun 2012, 9:49 AM
I had a misunderating of the substore usage in charts. After I fixed an issue with my store model, I was able to zoom into the chart when I alter the fromDate-toDate range on the chart. The chart substore only contains the values that are in the fromDate-toDate range.

Problem solved.