CALL ME TZ
CALL ME TZ

Reputation: 229

How to show some empty item in hightcharts?

I have some data in previous hours ,but data after now is null, I want show them just like this: enter image description here

Upvotes: 0

Views: 214

Answers (1)

Nagesh Salunke
Nagesh Salunke

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

Related Questions