SimpleNumberSeries<Double> l2 =
new SimpleNumberSeries<Double>(25d, 17.5d, 12.25d, 8.6d, 6.0d, 4.2d, 2.9d);
SimpleNumberSeries<Integer> l3 = new SimpleNumberSeries<Integer>(4, 25, 13, 22, 14, 17, 15);
@SuppressWarnings("unchecked")
JQPlot chart3 = new JQPlot("chart3", new ListModel(Arrays.asList(l1, l2, l3)));
PlotOptions chart3O = chart3.getOptions();
chart3O.getLegend().setShow(true);
chart3O.setTitle("Mixed Data Input Formats");
PlotSeries chart3series1 = chart3O.addNewSeries();
chart3series1.setLabel("Rising line");