code: public void setRenderTo(final Options options, final String renderTo) {
          if (options.getChartOptions() == null) {
              options.setChartOptions(new ChartOptions());
          }
          options.getChartOptions().setRenderTo(renderTo);
      }
docs: Null-safe setter for the renderTo configuration.
  
  @param options the Options object to set the renderTo of
  @param renderTo the render target