0

Any ZK Charts Async Drilldown example?

asked 2014-12-26 06:18:09 +0800

M4tt gravatar image M4tt
39 5

updated 2014-12-26 06:24:18 +0800

Hi,

Is there any example to show how to implement a async drilldown with ZK Charts? What I need is something like in this link.

And I also checked out the Highcharts async drilldown example, and tried to do it with addSeriesAsDrilldown. But I have no idea how to manipulate the series in Java code.

Here are what I've done:

chart.addEventListener(ChartsEvents.ON_PLOT_CLICK, new EventListener<ChartsEvent>() {

        public void onEvent(ChartsEvent event) throws Exception {
            //retrieve my data from database
            List data = executeQuery(myQuery);
            Series series = event.getSeries();
            //******
            //Have no idea what to do here
            //******
            chart.addSeriesAsDrilldown(event.getPoint(), series);
        }
    });

Thank you.

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: 2014-12-26 06:18:09 +0800

Seen: 7 times

Last updated: Dec 26 '14

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