Question

I have designed a column drill down using Highcharts. Now my goal is to show the graph data's in a table format , when the page the loads at the first time it will show the 1st set of data`s in the table , where as when I drill down to second level the table should refresh the data and show the 2nd level data which is shown in the graph.

Was it helpful?

Solution

Highchart give access to click event for developers. For example take a look at the following example. http://www.highcharts.com/demo/line-ajax

Click event tells you a lot about which point and series did you clicked on (xAxix, yAxis, seriesName, you can even add custom options to your point to retrieve them through click event). You can retrieve which column the user clicked on and refresh your table according to the data of that column. Since you have the inner graph data after learning the outer graph point, getting the inner data would be much simpler I guess.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top