code: public static void setFlotHome(String flotHome) {
          if (flotHome == null || flotHome.trim().isEmpty()) {
              System.clearProperty(SYSTEM_PROPERTY_FLOT_HOME);
          } else {
              final String propValue = flotHome.endsWith("/") ? flotHome.substring(0, flotHome.length() - 1) : flotHome;
              System.setProperty(SYSTEM_PROPERTY_FLOT_HOME, propValue);
          }
      }
docs: Sets the home folder of all flot javascript files