BLove
Posts: 11
Joined: Fri Nov 20, 2020 6:56 pm

Disabling Drilldown on select graphs

Hi,

I included the Drilldown module into my project in order to use it for my piecharts. However, my project uses many of the different types of graphs, and including the drilldown module has made it so that my column charts/histograms are now breaking at larger data cases. Seemingly drilldown expects point data to be objects so it can actually drill-down, but if a case goes over the turbothreshold, highcharts is expecting series data as arrays instead, and ends up either crashing or not drawing. I have a simple repro case here: https://jsfiddle.net/bloved/fug43jz9/13/.

I couldnt find a way to disable drilldown via options on a per graph basis, so I was wondering if this was something that was possible, to have drilldown included so some of my graphs can use it, but disable it via options from running any of its events on graphs where I dont want drilldown to be used.
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: Disabling Drilldown on select graphs

Hi,

Thanks for contacting us with your question!

You can add a function, which will prevent drill down after the event. Here is a similar topic: viewtopic.php?t=39640

Let me know if that was what you were looking for,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Usage”