Search code examples
reactjsnext.jschartshighchartsreact-highcharts

Using Highcharts with NextJS, The time (not the date) is repeating


I have a requirement to load datapoints within a given start and end time, for a given range of values. I used linspace to distribute the epochs between the range.

sample of how time is repeating

I had manually checked and coded to see if there are any duplicate values (which doesn't make sense), naturally there wasn't any.

sample image of the time repeating in stock charts

I'm using a basic time series plotting with x axis being an epoch and y axis with numerical values, which are then customised according to the timezone.

I tried upgrading from 11.3.0 to "highcharts": "11.4.8", but no luck strangely this is happening for only one single instance.


Solution

  • It's actually not an issue, but a feature, related to daylight savings time.