Hi,
Thank you for pointing that out, you are absolutely right about larger data arrays.
In the Stack Overflow example, we were defining a fixed amount of ticks (fixed
tickPositions array length) so that caused the browser window resize issue.
I have modified the demo, so basically now we take the original
tickPositions array and manually insert first and tick from the data. Whenever you resize the browser or change the data length the
tickPositons will be automatically calculated by
Highcharts
DEMO: https://jsfiddle.net/BlackLabel/8e97yr5n/
Please test this solution with your data, and let me know if that is what you were looking for,
Best regards!