0

Onclick event on zk charts

asked 2015-07-07 13:03:47 +0800

Prameela gravatar image Prameela
1

Hi,

I am using zk 2.0 version.I have written this piece of code for on-click on chart

charts.addEventListener(0,ChartsEvents.ONPLOTCLICK, new EventListener<chartsevent>() {

        public void onEvent(ChartsEvent event) throws Exception {
  String label=(String) event.getCategory();

}}

For first series (event.getCategory()) i am getting category name and for remaining series i am getting id as category names..

Please suggest me. Thanks in Advance -Prameela

delete flag offensive retag edit
Be the first one to answer this question!
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-07-07 13:03:47 +0800

Seen: 10 times

Last updated: Jul 07 '15

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