List of usage examples for org.jfree.chart.plot PiePlot3D setBackgroundImage
public void setBackgroundImage(Image image)
From source file:org.openmicroscopy.shoola.util.ui.graphutils.PieChart.java
/** * Creates the chart.// w ww .j a v a 2 s . co m * @see ChartObject#createChar() */ void createChart() { chart = ChartFactory.createPieChart3D(title, dataset, false, true, false); PiePlot3D plot = (PiePlot3D) chart.getPlot(); if (backgroundImage != null) { plot.setBackgroundImage(backgroundImage); } plot.setDirection(Rotation.CLOCKWISE); plot.setForegroundAlpha(0.55f); }