code: public void setSmoothFunction(final SmoothingFunction SMOOTHING_FUNCTION) {
          this.smoothFunction = SMOOTHING_FUNCTION;
          init(INNER_BOUNDS.width, INNER_BOUNDS.height);
          repaint(INNER_BOUNDS);
      }
docs: Defines the smoothing function that will be applied to the data if selected
  @param SMOOTHING_FUNCTION