how to set data from server in one field & hard coded data in another field of store
Hi I am developing a chart application in this data is coming from server for both xField and yField of series, but I wanted only yField`s( numeric value e.g. 10, 20, 30, 55, 88 for columns of chart ) data to come from server and make xField ( Jan, Feb, Mar, Apr....Dec ) data to make hard coded in Store. so that application works faster.
I have attached my code in main.txt below, this file has Model, Store, and View of application. and below is my application`s screen shot. on Click of "Change Year" button I am updating store,but I only want to update column field i.e fieldY , not fieldX rounded in red color below, I want fieldX to make hard coded in store. please help me.
Tags for this Thread