Package org.jfree.chart

Examples of org.jfree.chart.TextTitle


    return meterplot.getUnits();
  }

  public void setTitle(String title) {
    meterchart.setTitle(
      new TextTitle(title,JFreeChart.DEFAULT_TITLE_FONT) );
  }
View Full Code Here


        else {
            chart.setTitle(Translator.translate(title));
            String titleFontSize = getSetting("titleFontSize");
            if (titleFontSize != null) try {
                float fontSize = Float.parseFloat(titleFontSize);
                TextTitle t = chart.getTitle();
                t.setFont(t.getFont().deriveFont(fontSize));
            } catch (Exception tfe) {}
        }

        if (chromeless || parameters.get("hideLegend") != null)
            chart.setLegend(null);
View Full Code Here

    return meterplot.getUnits();
  }

  public void setTitle(String title) {
    meterchart.setTitle(
      new TextTitle(title,JFreeChart.DEFAULT_TITLE_FONT) );
  }
View Full Code Here

TOP

Related Classes of org.jfree.chart.TextTitle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.