Dunivivi
Posts: 14
Joined: Mon Mar 20, 2023 1:56 pm

Dynamic drilldown

Hello everyone, I have troubles :D :D
How can i make a dynamic drilldown ? Let me explain... I have a list of series data (pie) and on it's click i want to get id of clicked elements and request on backend datas for its drilldown and automat open it after request done, to not overload frontend on start if save all drilldowns in typescript.
Thank you all !
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: Dynamic drilldown

Welcome to our forum and thanks for contacting us with your question!

On the demo below, you can see a basic demo with a simulation of asynchronous drilldown on a pie chart.
Demo: https://jsfiddle.net/BlackLabel/peyv0k9b/

I modified it a little bit so that you can fetch your data from the API.
Demo: https://jsfiddle.net/BlackLabel/7pyao2cn/

​If you have further inquiries, you may reach out to me at any time.
Best regards
Jakub

Return to “Highcharts Usage”