2

如何在 jfreechart 中加粗x 和 y 轴值?

4

1 回答 1

6

您是否尝试过其中一种:

yourAxis.setTickLabelFont(new Font("Arial", Font.BOLD, 10)); //to define a specific font

或者

Font bold = yourAxis.getTickLabelFont().deriveFont(Font.BOLD);
yourAxis.setTickLabelFont(bold); //to use the existing font, but bold
于 2012-05-03T09:42:42.237 回答