* @param title
* @param labelX
* @param labelY
*/
public BarChart(String title, String labelX, String labelY) {
ChartConfiguration 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 xAxis = getChartConfiguration().createXAxis();
xAxis.setRenderer(JqPlotResources.CategoryAxisRenderer);
getChartConfiguration().createYAxis();