Hi I downloaded Sencha touch 2.1 and I used chart example code given in that to run it and it worked well. but as per my requirement I have to refresh the chart when User selects a year from picker. but I am not able to update the chart.
For 1st time to load data in chart, I have used Store and but for next time I tried to set proxy parameter to my store and then set the store to chart, but my chart is not getting refreshed. my files are here. view Store Model
Below is code which I am using to refresh the chart.
var myProxy = store.getProxy();
myProxy.setExtraParam( 'Year', '2010' );
store.setProxy(myProxy);
var myChart = Ext.getCmp('myChart');
myChart.setStore(store);
myChart.renderFrame();
Please help me.