-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I am setting two models for a chart like this charts.setModel(categoryModelForRegion); charts.setModel(categoryModelForCity);
But for every on click it is taking last model and displaying in UI.
I need output like charts.setModel(categoryModelForRegion) should be executed first and for second onclick charts.setModel(categoryModelForCity) should be executed next.
Could you please suggest me how to do this.Thanks in advance
Thanks -Prameela
Hello
You should create a clickCounter and based on it you should write your modal setting logic, resetting the counter everytime first display happens.
Harish
Asked: 2015-06-17 10:01:07 +0800
Seen: 16 times
Last updated: Jun 19 '15