Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <dependency>
  2. <groupId>com.googlecode.wicked-charts</groupId>
  3. <artifactId>wicked-charts-wicket6</artifactId>
  4. <version>1.5.0</version>
  5. </dependency>
  6.  
  7. public TestChart(String id, Options options, Theme theme) {
  8. super(id, options, theme);
  9. }
  10.  
  11. @Override
  12. protected void onInitialize() {
  13. // TODO Auto-generated method stub
  14. super.onInitialize();
  15. String highcharts = "https://code.highcharts.com/highcharts.js";
  16. String exporting = "https://code.highcharts.com/modules/exporting.js";
  17. JavaScriptResourceRegistry.getInstance().setHighchartsReference(highcharts);
  18. JavaScriptResourceRegistry.getInstance().setHighchartsExportingReference(exporting);
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement