关键字: jfreechart api 设置 柱图 纵坐标
**QQ:252574345 **MSN:lele_love_lomboz@hotmail.com */
CategoryPlot categoryplot = (CategoryPlot)chart.getPlot();
NumberAxis numberaxis = (NumberAxis)categoryplot.getRangeAxis();
decimalFormat = new DecimalFormat("格式");
//格式将指定纵坐标的显示格式,可以显示整数,小数,百分比等 比如:
0.00 显示如:56.89
0.00% 显示如:56.89%
0 显示如57
0% 显示如57% |
|