Наконец-то я смог сделать это, установив параметры по умолчанию:
plotOptions: {
column: {
grouping: grouping,
dataGrouping: {
forced: true,
units: [['month', [1, 3, 6]], ['year', [1, 5]]]
},
}
И обновите его, когда установите ось:
xAxis: {
events: {
afterSetExtremes: function (e) {
var chart = $('#redChart').highcharts();
chart.update({
plotOptions:{
column: {
dataGrouping: {
forced: dateFns.differenceInMonths(e.max, e.min) > 3,
}
}
}
})
}
},
},