Highcharts Column Chart Drilldown

和自甴很熟 提交于 2020-01-14 05:56:25

问题


Can anybody give an example of drill down functionality for column charts of Highcharts package? Here is the jsfiddle of the example from the Highcharts website but it is with static data. http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/column-drilldown/

How to make it dynamic? Even if I implement the click function, how to know which column was clicked? How to refresh the same chart with drilldown data? I have complex XML which I converted to an array of objects. So preparing drilldown data is not a problem. But I need guidance on passing this data to the chart. Any help will be much appreciated. Thanks.


回答1:


Here is an example of what you have to do.

http://jsfiddle.net/yPVX9/2/

I used the same code that you gave on the link.

Hope this help you :)



来源:https://stackoverflow.com/questions/11574067/highcharts-column-chart-drilldown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!