PDA

View Full Version : Charts - multiple charts sharing one store



fordprefect
19 Mar 2012, 10:14 AM
Hello,

I was hoping to have a few charts share a store (the charts all use the same parameters and make the same ajax call) without each chart being updated with the store data from another chart. Is there a way to create multiple instances of the same store and have each chart use an instance of the store but be updated individually?

Thanks for any suggestions.

mitchellsimoens
19 Mar 2012, 11:44 AM
You will need to have different stores if you want them to be updated individually.

fordprefect
19 Mar 2012, 1:10 PM
Thanks, I've went ahead and created a new store binding it to my chart.



chartStore.loadRecords(records);
myChart.bindStore(chartStore);