public BarChart(String title, String labelX, String labelY) {
ChartConfiguration<String> chartConfiguration = getChartConfiguration();
chartConfiguration.setTitle(new Title(title));
SeriesDefaults seriesDefaults = new SeriesDefaults();
RendererOptions rendererOptions = new RendererOptions();
seriesDefaults.setRenderer(JqPlotResources.BarRenderer);
seriesDefaults.setRendererOptions(rendererOptions);
chartConfiguration.setSeriesDefaults(seriesDefaults);
chartConfiguration.getSeriesDefaults().setPointLabels(new PointLabels());
rendererOptions.setFillZero(true);
chartConfiguration.setLabelX(labelX);
chartConfiguration.setLabelY(labelY);
XAxis<String> xAxis = getChartConfiguration().createXAxis();