forked from wicketstuff/core
-
Notifications
You must be signed in to change notification settings - Fork 0
JqPlot Plugin Integration
inaiat edited this page Dec 8, 2011
·
1 revision
(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;
<div wicket:id="chart1"></div>
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/