Reputation: 229
I have some data in previous hours ,but data after now is null, I want show them just like this:
Upvotes: 0
Views: 214
Reputation: 1288
You can add xmax to desired value xAxis.
So that other points will be shown null. and you can say
startOnTick: false, endOnTick:false
For example refer : example
I have values set min of y to 20 and max to 400,
yAxis: {
min: 20,
max:400,
startOnTick: false,
endOnTick:false
},
See how ther chart is displayed. I hope this helps.
Upvotes: 1