I have a highcharts drilldown column chart that shows weekly spending, and users can drill down in each week to see the category breakdown. Separate to the chart, users can also filter down the categories they want to see and we then pull the filtered down chart data and update both top and drilled down levels using the following snippet:
chart.update({
series: {data: updated_series_data},
drilldown: {series: updated_drilldown_data}
}, true, false, false);
This updates the data behind the chart fine, but behaves strange when it is run while the chart is already drilled down. By strange I mean the chart appears to remain drilled down and show the "back to weekly spending" button, but displays top-level data
let's say the user is drilled down and sees the below:
Then the user wants to filter out the groceries bar, we then go and pull the chart data filtered for that week and excluding groceries and update the chart. But running the snippet above then shows the top level data bar without drilling back up like so:
Is there a way to keep the chart drilled down and just update the viewed drilled down dataset? I tried only updating the "drilldown" element of the chart options, but that just turns the chart blank