Skip to content

JqPlot Plugin Integration

inaiat edited this page Dec 8, 2011 · 1 revision

Overview

(from http://www.jqplot.com/)

jqPlot is a plotting and charting plugin for the jQuery Javascript framework. jqPlot produces beautiful line, bar and pie charts with many features:

  • Numerous chart style options;
  • Date axes with customizable formatting;
  • Up to 9 Y axes;
  • Rotated axis text;
  • Automatic trend line computation;
  • Tooltips and data point highlighting;
  • Sensible defaults for ease of use;

Take a look at a simple HTML:

<div wicket:id="chart1"></div>

Java Code:

LineChart<Integer> lineChart = new LineChart<Integer>();
lineChart.addValues(1,2,3,4,5);
add(new JqPlotChart("chart1", lineChart));

The output look'n feel is exactly the same as in http://www.jqplot.com/tests/

Clone this wiki locally