score:1

Accepted answer

I have two aproach, the first with changing inside event chart.redraw() will be called every time when chart is redrawn, for testing I added fired from a button.

  redraw: function() {
    let chart = this;
    console.log(chart);
    chart.xAxis[0].userMax = 8;
    chart.xAxis[0].userMin = 2;
  },

The next way is to update the axis object with a new set of userMax and userMin options.

  chart.xAxis[0].update({
    userMax: 8,
    userMin: 2
  }, true);

Live demo:

https://jsfiddle.net/BlackLabel/fcsd9hyo/

API References:

https://api.highcharts.com/highcharts/chart.events.redraw

https://api.highcharts.com/class-reference/Highcharts.Axis#update


Related Query

More Query from same tag