Hi, I have this chart https://jsfiddle.net/mck0rpv2/
and with the code:
chart: {
events: {
load: function () {
const xAxis = this.xAxis[0];
xAxis.setExtremes(xAxis.dataMin, xAxis.dataMin + xAxis.max - xAxis.min);
}
}
},
I set the extremes to the start of the chart instead of the end of the chart with date. Although when i press any date below 1y in range selector the lowest date raises, instead i want the highest date to go down and the lowest date to stay at the lowest date. Is there anyway to fix this? Or is there a simpler way to make the rangeselector use the first date instead of the last?