code: protected void includeChartJavascript(final IHeaderResponse response, final Options options,
                                            final JsonRenderer renderer, final String markupId) {
          String chartVarname = this.chart.getJavaScriptVarName();
          String optionsVarname = markupId + "Options";
          response
                  .render(OnDomReadyHeaderItem.forScript(MessageFormat.format(
                          "var {0} = {1};window.{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.