0

Loading of multiple chart models one by one

asked 2015-06-17 10:01:07 +0800

Prameela gravatar image Prameela
1

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

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-19 03:53:35 +0800

echarish gravatar image echarish flag of Japan
1809 7
http://jp.linkedin.com/in...

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

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-06-17 10:01:07 +0800

Seen: 13 times

Last updated: Jun 19 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More