code: protected void includeChartJavascript(final IHeaderResponse response,
                                            final Options options, final JsonRenderer renderer,
                                            final String markupId) {
          String chartVarname = markupId;
          String optionsVarname = markupId + "Options";
          response.renderOnDomReadyJavaScript(MessageFormat.format(
                  "var {0} = {1};var {2} = new Highcharts.Chart({0});",
                  optionsVarname, renderer.toJson(options), chartVarname));
      }
docs: Includes the javascript that calls the Highcharts library to visualize
  the chart.
  
  @param response the Wicket HeaderResponse
  @param options  the options containing the data to display
  @param renderer the JsonRenderer responsible for rendering the options
  @param markupId the DOM ID of the chart component.