JFreeChart 目盛/カテゴリ名のフォントを変更する
軸の下のラベルを変更するには、setTickLabelFont を使います。
JFreeChart jfree = ChartFactory.createBarChart("Topix17 mcap", "TopixName", "mcap", dataset, PlotOrientation.HORIZONTAL, false, false, false); jfree.getCategoryPlot().getDomainAxis().setTickLabelFont(new Font(Font.DIALOG, Font.ITALIC, 15));
before
after