Dave Pater
Dave Pater

Reputation: 1

Lines are not united Highcharts

I did a graph with two lines, one is on the x and y the time the speed of a medium, the second (coarse) the activity of the means: when there is speed there must be otherwise should not be drawn.

The chart is here: http://jsfiddle.net/6gdVa/ as you can see I made sure that the array 'date1' is a null when it should not be drawn:

data1.push ([Date.UTC (2014, 06, 03, 17, 10, 00), null]); 

but unfortunately the line is not drawn, why?

Thanks to those who respond.

Dave.

Upvotes: 0

Views: 40

Answers (1)

wergeld
wergeld

Reputation: 14462

This is because, by default, null values are connected. Try setting connectNulls to true in your series that contains data1.

Upvotes: 1

Related Questions