title: negative values missing in logarithmic mode
body: <p>so after going all over other questions on SOF.
  <br />
  I'm using HighchartsReact wrapper for Highcharts.
  <br /><br />
  <strong>Expected behaviour:</strong>
  <br />
  show negative values in stacked column chart even in logarithmic scale.
  When toggling a series that has y values &lt; 0, log scale hides them. When toggling back to linear scale the hidden points should be visible again.</p>
  <p><strong>Actual behaviour:</strong>
  <br />
  negative values disappear when going from linear to logarithmic. in addition when going back to linear the negative value that were seen in linear scale before - disappear and are not part of the chart.
  It was working before several weeks and stopped working suddenly.</p>
  <p>Live demo with steps to reproduce:</p>
  <ul>
  <li><a href="https://jsfiddle.net/10j7hw8a/2/" rel="nofollow noreferrer">demo</a></li>
  <li><a href="https://jsfiddle.net/nq24y58p/" rel="nofollow noreferrer">official Custom Axis extension to allow emulation of
  negative values on a logarithmic</a></li>
  </ul>
  <p>Product version
  9.3.2</p>
  <p>How can I add this function with using HighchartsReact? I tried passing a callback and also inside React.useEffect to use the chart ref. but anything I do, still negative values are missing. and going back to linear just removes the original negative values from series.</p>
  <pre><code>(function (H) {
      H.addEvent(H.Axis, 'afterInit', function () {
          const logarithmic = this.logarithmic;
  
          if (logarithmic &amp;&amp; this.options.custom.allowNegativeLog) {
  
              // Avoid errors on negative numbers on a log axis
              this.positiveValuesOnly = false;
  
              // Override the converter functions
              logarithmic.log2lin = num =&gt; {
                  const isNegative = num &lt; 0;
  
                  let adjustedNum = Math.abs(num);
  
                  if (adjustedNum &lt; 10) {
                      adjustedNum += (10 - adjustedNum) / 10;
                  }
  
                  const result = Math.log(adjustedNum) / Math.LN10;
                  return isNegative ? -result : result;
              };
  
              logarithmic.lin2log = num =&gt; {
                  const isNegative = num &lt; 0;
  
                  let result = Math.pow(10, Math.abs(num));
                  if (result &lt; 10) {
                      result = (10 * (result - 1)) / (10 - 1);
                  }
                  return isNegative ? -result : result;
              };
          }
      });
  }(Highcharts));
  </code></pre>