// JFreeChart 横轴文字竖着显示
CategoryAxis axis = plot.getDomainAxis(); //x轴
axis.setMaximumCategoryLabelLines(10); //标题行数,每个字显示一行
axis.setMaximumCategoryLabelWidthRatio(0.5f); //每个标题宽度,控制为1个字的宽度
转载于:https://www.cnblogs.com/mubin/p/3274941.html
// JFreeChart 横轴文字竖着显示
CategoryAxis axis = plot.getDomainAxis(); //x轴
axis.setMaximumCategoryLabelLines(10); //标题行数,每个字显示一行
axis.setMaximumCategoryLabelWidthRatio(0.5f); //每个标题宽度,控制为1个字的宽度
转载于:https://www.cnblogs.com/mubin/p/3274941.html