PlotOrientation po = PlotOrientation.VERTICAL;
JFreeChart chart = ChartFactory.createStackedBarChart3D(title, "Month", "Amount", dataset, po, true, true, true);
CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setForegroundAlpha(0.5f);
BufferedImage bi = chart.createBufferedImage(chartWidth, chartHeight, BufferedImage.TRANSLUCENT, null);
byte[] bytes = EncoderUtil.encode(bi, ImageFormat.PNG, true);
AImage chartImage = new AImage("Stacked Bar Chart 3D", bytes);
Image img = new Image();