目前发现一种方法可以解决,做个标记。
利用字体:
RrdGraphDef graphDef = new RrdGraphDef(); graphDef.setSmallFont(new Font(Font.MONOSPACED, Font.PLAIN, 10)); graphDef.setLargeFont(new Font(Font.MONOSPACED, Font.BOLD, 12)); ....