/** * Set the font to be used in the legend * * @param f font */ public void legendFont(Font f) { if (f == null) return; if (legend_text == null) legend_text = new TextLine(); legend_text.setFont(f); }