Highcharts Bug: Chart out of boundary

71 Views Asked by At

I'm using highcharts 4.2.1, and when I zoom in, the chart will be out of boundary horizontally.

Does anyone have some ideas?

enter image description here

1

There are 1 best solutions below

1
On BEST ANSWER

I assume that you've somewhere in your series configuration, the clip parameter set equal to false, that's why the problem occurs. Please set it to true on all series in your chart by this code:

plotOptions: {
  series: {
    clip: true
  }
}

Live example: https://jsfiddle.net/syhamc8u/