* @param title
* @param labelX
* @param labelY
*/
public BarChart(String title, String labelX, String labelY) {
ChartConfiguration chartConfiguration = getChartConfiguration();
chartConfiguration.setTitle(new Title(title));
SeriesDefaults sd = new SeriesDefaults();
RendererOptions ro = new RendererOptions();
sd.setRenderer(JqPlotResources.BarRenderer);
sd.setRendererOptions(ro);
chartConfiguration.setSeriesDefaults(sd);
chartConfiguration.getSeriesDefaults().setPointLabels(new PointLabels());
ro.setFillZero(true);
Legend legend = new Legend();
legend.setShow(true);
legend.setPlacment("outsideGrid");
chartConfiguration.setLegend(legend);
chartConfiguration.setLabelX(labelX);
chartConfiguration.setLabelY(labelY);
XAxis xAxis = getChartConfiguration().createXAxis();
xAxis.setRenderer(JqPlotResources.CategoryAxisRenderer);
getChartConfiguration().createYAxis();