Cyber
Cyber

Reputation: 5000

HighChart to show multiple chart after drill down?

I am developing a system which shows some statistical data. For this i am using HighChart (Pie).

I have tried some basic things like clicking on one Pie chart will drill down to another pie chart. But now i have to include another functionality like Clicking on one Pie chart will bring 2 new pie chart.I have searched for this in HighCharts documentation but couldn't find anything related to this.

Please help me to achieve this scenario.

Any help is appreciated.

Upvotes: 0

Views: 451

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

At this moment we offer drilldown to single serie, but you can catch click event on point and then destroy chart and create new one with two series.

Example: http://jsfiddle.net/2qsa2e6t/2/

plotOptions: {
        pie: {
            point: {
                events: {
                    click:function(){
                        this.series.chart.destroy();
                        $('#container').highcharts(optionsDoubleChart);
                    }
                }
            }
        }
    },

Upvotes: 1

Related Questions