}
JFreeChart chart = ChartFactory.createHistogram("Histogram", null, null, dataset,
PlotOrientation.VERTICAL, true, false, false);
dataset.seriesChanged(new SeriesChangeEvent(new Object()));
chart.getXYPlot().setForegroundAlpha(0.75f);
return chart;
// }
// else{