I have multiple time series that do not have the same starting/ending points. I want to fix a starting point and a ending point in x-axis, I tried something like:
xAxis: {
min: new Date('2000/10/22'),
max: new Date('2010/10/22'),
},
jsfiddle link
But it does not work. Btw, the document on highcharts website has a wrong link for min
in xAis.
Min and max should be timestamps, not date objects.
Proper code:
xAxis: {
min: new Date('2000/10/22').getTime(),
max: new Date('2010/10/22').getTime(),
},
http://jsfiddle.net/34CZK/3/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With