81,092
社区成员
发帖
与我相关
我的任务
分享
CategoryPlot plot = (CategoryPlot) chart.getCategoryPlot();
CategoryAxis categoryaxis = plot.getDomainAxis();
//设置横坐标上显示各个业务子项的字体
categoryaxis.setTickLabelFont(new Font("华文细黑",Font.PLAIN,12));
categoryaxis.setMaximumCategoryLabelLines(100);
categoryaxis.setMaximumCategoryLabelWidthRatio(100);
...//等等