15
Views
1
Comments
How to use Drill Down in Charts in Reactive Web App
Question

Hello,

How to use the Drill Down in pie chart in reactive web app.

I am try to use high charts to achieve drill down .

please help me to figure this.


Rank: #116

Hi,

drill down is going to be little tricky, I found a JSFiddle for drilldown highcharts, it needs drilldown.js, once I associate that it throws error on other required chart core components.

Other option is, 

  1. create a variable of type DataPoint List
  2. onDataFetch assign this variable, this should display the initial chart
  3. make the clickable for chart to true, assign the local variable for source and create a onclick action
  4. the new onclick event should have the datapoint that user clicked, which you can use to get the data and update the local variable.
  5. You will have to have another button to go back in case user has drilled down.

Regards.