docs: public void calcAutoScale() {
          double maxNoOfMajorTicks = 10;
          double maxNoOfMinorTicks = 10;
          double minValue          = getMinValue();
          double maxValue          = getMaxValue();
          double range             = maxValue - minValue;
          double niceRange         = (Helper.calcNiceNumber(range, false));
          setMajorTickSpace(Helper.calcNiceNumber(niceRange / (maxNoOfMajorTicks - 1), true));
          double niceMinValue      = (Math.floor(minValue / getMajorTickSpace()) * getMajorTickSpace());
          double niceMaxValue      = (Math.ceil(maxValue / getMajorTickSpace()) * getMajorTickSpace());
          setMinorTickSpace(Helper.calcNiceNumber(getMajorTickSpace() / (maxNoOfMinorTicks - 1), true));
          setMinValue(niceMinValue);
          setMaxValue(niceMaxValue);
      }