Highcharts - drill down to multiple series

前端 未结 4 536
梦谈多话
梦谈多话 2021-01-11 23:03

I have a parent chart that I need to drill down to a child chart with multiple series. Here is a toy example of what I would like to do. (I know this does not wor

4条回答
  •  一生所求
    2021-01-11 23:38

    A workaround for a drillup button in combination with the setChart() solution, can be to add a hyperlink (e.g. in a subtitle). Then give the original data to setChart()

    $(document).on('click', '#drillup', function () {
        var data = {categories: categories, series: series};
        setChart('new title', categories, data, chart.type);
    });
    

提交回复
热议问题