JFreeChart chart = ChartFactory.createBarChart3D("物业报修统计123","","",dataset,PlotOrientation.VERTICAL,true,true, false);
chart.setTitle(new TextTitle(title, new Font("宋体", Font.ITALIC, 22)));
CategoryPlot plot = chart.getCategoryPlot();//设置图的高级属性
BarRenderer3D renderer = new BarRenderer3D();//3D属性修改
//最后还得将renderer 放到plot 中
renderer.setItemLabelGenerator(new StandardCategoryItemLabelGenerator());
renderer.setItemLabelFont(new Font( "黑体 ",Font.PLAIN,12));
renderer.setItemLabelsVisible(true);
renderer.setBasePositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.OUTSIDE12, TextAnchor.CENTER_LEFT));
plot.setRenderer(renderer);//渲染