利用JFreeChart在JSP中制作图表
chart=ChartFactory.createBarChart("职称人数统计","职称类别","人数",initCategoryData(),PlotOrientation.VERTICAL,false,false,false);CategoryPlot plot=chart.getCategoryPlot(); //获取图表区对象plot.setBackgroundPaint(Color.white); //设置网格背景颜色plot.setRangeGridlinePaint(Color.pink); //设置网格横线颜色BarRenderer renderer
<<上一页 下一页>>
广州市越秀区图书馆版权所有。
联系电话:020-87673002
本站访问人数: