score:1

Accepted answer

You can use the drilldown and drillup callbacks to customize your chart options, like:

events: {
  drilldown() {
    const chart = this;

    chart.title.hide()
            
            chart.axes.forEach(axis => axis.update({visible: false}, false, false))
            chart.reflow()
  },
  drillup() {
    const chart = this;

    chart.title.show()
            chart.axes.forEach(axis => axis.update({visible: true}, false, false))
            chart.reflow()
  }
}

Demo: https://jsfiddle.net/BlackLabel/3ac9hrfj/

API: https://api.highcharts.com/highcharts/yAxis.visible


Related Query