日期:2014-05-20  浏览次数:20745 次

jfreeChart如何去掉X轴最底下文字?
如题

 PiePlot pieplot = (PiePlot)jfreechart.getPlot();
//设置图表标签字体
pieplot.setNoDataMessage("No data available");
pieplot.setCircular(true);
//中间图的字体设置
 pieplot.setLabelFont(CHART_FONT);
 pieplot.setLabelGap(0.01D);//间距
//最下面说明文字的字体设置
jfreechart.getLegend().setItemFont(CHART_FONT);//怎么去掉这里文字?
各位大侠帮忙。

------解决方案--------------------
ChartFactory.createBarChart(title,xValue,yValue,xxx