Bug in Highcharts xAxis.breaks feature? Or do I misunderstand?

199 views Asked by At

The Highcharts API reference for the xAxis.breaks option describes it as:

An array defining breaks in the axis, the sections defined will be left out and all the points shifted closer to each other.

Emphasis on left out are mine.

The subtitle of their referenced simple breaks fiddle-demo says Line should be interrupted between 5 and 10. Yet the line isn't broken there; there's a line segment connecting the point at x=5 to the point at x=10.

Question 1: Is the implementation deviating from the specified behavior or am I misinterpreting what they mean by left out and interrupted?

In my application, having visible breaks in the line between the points specified in my xAxis.breaks array will be important. If someone can confirm that this is a bug, I'll submit it as such.

Question 2: If it's not a bug is there a way / another option to turn off or hide the line segments corresponding to my specified breaks?

0

There are 0 answers