Highstock options reference for pointInterval:
pointInterval: Number If no x values are given for the points in a series, pointInterval defines the interval of the x values in milliseconds. For example, if a series contains one value each day, set pointInterval to 24 * 3600 * 1000.
You have defined x
values. There is no need to use pointInterval
. And additionaly your comment is wrong, you defined 1000 days instead of 1 day.
Default buttons for rangeSelector
are not much useful for your data. I defined new range selector for 1y, 5y and All.
And it seems that data format is wrong. I change years to returns primitive value of Date object. See MDN docs for Date
Updated jsfiddle example