JQPlot chart2 =
new JQPlot("chart2", new ListModel<BlockSeries<Double, Double, String, Object>>(lines));
PlotOptions chart2O = chart2.getOptions();
chart2O.getSeriesDefaults().setRenderer(JQPlotBlockRenderer.get())
.setRendererOptions(new PlotBlockRendererOptions().setVaryBlockColors(true));
chart2O.getSeriesDefaults().getPointLabels().setShow(false);
chart2O.getLegend().setRenderer(JQPlotEnhancedLegendRenderer.get()).setShow(true)
.setShowSwatch(false);
chart2O.addNewSeries().setLabel("Independent Brands");
chart2O.addNewSeries().setLabel("Pepsi Brands");