To add a chart to your Wicket page, include the following HTML and Java fragments into your code:
<!-- HTML code --> <div wicket:id="chart"/>
// Java code Options options = new Options(); options.setTitle(new Title("My Chart")); ... // to see more options, select a chart below and click the button "Show Java code" add(new Chart("chart", options));