score:1

Accepted answer

the line is being sliced in half since it appears on the edge of the drawing "canvas".

try these yaxis options:

       yaxis: {
            tickpositions: [-3, 0, 3],
            gridlinewidth: 0,
            max: 3.1,
            endontick: false
        },

update fiddle.

for lower end, just set a min with the max value-->

           

yaxis: {
      tickpositions: [-3, 0, 3],
      gridlinewidth: 0,
      max: 3.1,
      min: -3.1, // i added this!
      endontick: false,
      startontick: false // and this!
},

yet another fiddle.

score:1

possibly bug, reported to our developers here: https://github.com/highslide-software/highcharts.com/issues/2099

thank you for suggestion.


Related Query

More Query from same tag