janecekp
Posts: 1
Joined: Tue May 02, 2023 1:04 pm

After change range in navigator, chart is empty

Hello,

i have an issue in highchart with my data with timestamp. After changing the range in the navigator, the chart disappears.

Here is a simple example with my data.

https://jsfiddle.net/f74rmx2c/1/

Could someone help me what is wrong?

Thank you.
jakub.s
Posts: 1229
Joined: Fri Dec 16, 2022 11:45 am

Re: After change range in navigator, chart is empty

Hi,

Welcome to our forum & thanks for the question!

This issue stems from the fact that series.data needs to be sorted by x in an ascending order, which is not the case for your data.

If you sort your data, everything works normally: https://jsfiddle.net/BlackLabel/87asdqjb/

Let me know if you have any more questions.

Best regards!
Jakub
Highcharts Developer

Return to “Highcharts Stock”