code: public void setMaxValue(final double VALUE) {
          if (Status.RUNNING == timeline.getStatus()) { timeline.jumpTo(Duration.ONE); }
          if (null == maxValue) {
              if (VALUE < getMinValue()) { setMinValue(VALUE); }
              _maxValue = Helper.clamp(getMinValue(), Double.MAX_VALUE, VALUE);
              setRange(_maxValue - getMinValue());
              if (Double.compare(originalMaxValue, Double.MAX_VALUE) == 0) originalMaxValue = _maxValue;
              if (Double.compare(originalThreshold, getThreshold()) > 0) { setThreshold(Helper.clamp(getMinValue(), _maxValue, originalThreshold)); }
  
              if (!valueProperty().isBound()) Gauge.this.setValue(Helper.clamp(getMinValue(), getMaxValue(), Gauge.this.getValue()));
              updateFormatString();
              fireUpdateEvent(RECALC_EVENT);
          } else {
              maxValue.set(VALUE);
          }
      }
docs: Sets the maximum value of the gauge scale to the given value
  
  @param VALUE