Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dependency>
- <groupId>com.googlecode.wicked-charts</groupId>
- <artifactId>wicked-charts-wicket6</artifactId>
- <version>1.5.0</version>
- </dependency>
- public TestChart(String id, Options options, Theme theme) {
- super(id, options, theme);
- }
- @Override
- protected void onInitialize() {
- // TODO Auto-generated method stub
- super.onInitialize();
- String highcharts = "https://code.highcharts.com/highcharts.js";
- String exporting = "https://code.highcharts.com/modules/exporting.js";
- JavaScriptResourceRegistry.getInstance().setHighchartsReference(highcharts);
- JavaScriptResourceRegistry.getInstance().setHighchartsExportingReference(exporting);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement