public class ChartBehavior
extends org.apache.wicket.behavior.AbstractBehavior
| Constructor and Description |
|---|
ChartBehavior(Chart container)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
includeChartJavascript(org.apache.wicket.markup.html.IHeaderResponse response,
Options options,
JsonRenderer renderer,
String markupId)
Includes the javascript that calls the Highcharts library to visualize
the chart.
|
void |
renderHead(org.apache.wicket.markup.html.IHeaderResponse response) |
public ChartBehavior(Chart container)
container - The container to render the chart in.protected void includeChartJavascript(org.apache.wicket.markup.html.IHeaderResponse response,
Options options,
JsonRenderer renderer,
String markupId)
response - the Wicket HeaderResponseoptions - the options containing the data to displayrenderer - the JsonRenderer responsible for rendering the optionsmarkupId - the DOM ID of the chart component.public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IHeaderContributorrenderHead in class org.apache.wicket.behavior.AbstractBehaviorCopyright © 2016. All rights reserved.