docs: @Override protected void handleEvents(final String EVENT_TYPE) {
          super.handleEvents(EVENT_TYPE);
          if ("RECALC".equals(EVENT_TYPE)) {
              minValue = gauge.getMinValue();
              maxValue = gauge.getMaxValue();
              range    = gauge.getRange();
              redraw();
          } else if ("VISIBILITY".equals(EVENT_TYPE)) {
              Helper.enableNode(titleText, !gauge.getTitle().isEmpty());
              Helper.enableNode(valueText, gauge.isValueVisible());
              Helper.enableNode(unitText, !gauge.getUnit().isEmpty());
              Helper.enableNode(subTitleText, !gauge.getSubTitle().isEmpty());
              Helper.enableNode(averageLine, gauge.isAverageVisible());
              Helper.enableNode(averageText, gauge.isAverageVisible());
              Helper.enableNode(stdDeviationArea, gauge.isAverageVisible());
              redraw();
          } else if ("SECTION".equals(EVENT_TYPE)) {
  
          } else if ("ALERT".equals(EVENT_TYPE)) {
  
          } else if ("VALUE".equals(EVENT_TYPE)) {
              if(gauge.isAnimated()) { gauge.setAnimated(false); }
              if (!gauge.isAveragingEnabled()) { gauge.setAveragingEnabled(true); }
              double value = clamp(minValue, maxValue, gauge.getValue());
              addData(value);
              drawChart(value);
          } else if ("AVERAGING_PERIOD".equals(EVENT_TYPE)) {
              noOfDatapoints = gauge.getAveragingPeriod();
              // To get smooth lines in the chart we need at least 4 values
              if (noOfDatapoints < 4) throw new IllegalArgumentException("Please increase the averaging period to a value larger than 3.");
              for (int i = 0; i < noOfDatapoints; i++) { dataList.add(minValue); }
              pathElements.clear();
              pathElements.add(0, new MoveTo());
              for (int i = 1 ; i < noOfDatapoints ; i++) { pathElements.add(i, new LineTo()); }
              sparkLine.getElements().setAll(pathElements);
              redraw();
          }
      }