IDEMPIERE-3069 StackBarChart renderer not specified

This commit is contained in:
Redhuan D. Oon 2016-05-05 23:51:39 -07:00
parent f24bce4ef7
commit 8ecadf2ad9
1 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.renderer.category.BarRenderer;
import org.jfree.chart.renderer.category.CategoryItemRenderer;
import org.jfree.chart.renderer.category.GroupedStackedBarRenderer;
import org.jfree.chart.renderer.category.StandardBarPainter;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
@ -520,7 +521,7 @@ public class ChartBuilder {
);
BarRenderer renderer = new BarRenderer();
GroupedStackedBarRenderer renderer = new GroupedStackedBarRenderer();
renderer.setBarPainter(new StandardBarPainter());
CategoryPlot plot = chart.getCategoryPlot();