/** * Set the color for the legend text * * @param c color */ public void legendColor(Color c) { if (c == null) return; if (legend_text == null) legend_text = new TextLine(); legend_text.setColor(c); }