Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 jfreechart 中加粗x 和 y 轴值?
您是否尝试过其中一种:
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