title: Calculate Y-axis breaks
body: <p>We have a UI requirement to introduce a break in the graph when the first value on the y-axis is not 0. Naturally I started off with setting the yAxis min value to 0 and I decided to introduce a break in the y-axis. Here is the relevant options</p>
  <pre><code>yAxis: {
      lineWidth: 2,
      min: 0,
      breaks: [
        {
          from: 0,
          to: 100
        }
      ]
    }
  
  With data of 
  
  [180, 220, 450, 562]
  </code></pre>
  <p>Now this works great when the data we are using is static but obviously in our case it is not. The data we are getting back is from another service and varies a lot.</p>
  <p>Is it possible to get a minimum value of the yaxis that is calculated by highcharts?</p>
  <p>I can introduce a break from 0 to that calculated min value?</p>
  <p>You guys can see what I have worked on so far:</p>
  <p><a href="https://codesandbox.io/s/y-axis-line-break-c61jj?file=/demo.jsx:1470-1490" rel="nofollow noreferrer">CodeSandbox</a></p>
  <p>I am mainly doing this because we have a requirement to add the swigly as in the picture</p>
  <p><a href="https://i.stack.imgur.com/vUfgU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vUfgU.png" alt="enter image description here" /></a></p>