font « Label « JFreeChart Q&A





1. Can not change item label font    jfree.org

2. LABEL FONT PROBLEM.    jfree.org

WE HAVE SOME CODE LIKE THIS TO CUSTOMIZE THE TITLE FONT: jfc.getTitle().setPaint(new Color(153, 0, 0)); jfc.getTitle().setFont(new Font("Arial", Font.BOLD, 14)); jfc.getTitle().setHeight(15); IT WORKS FINE ON WINDOW 2K WHEN WE USE IT FOR DEVELOPMENT. BUT WHEN DEPLOYED TO QA (LINUX AS3) THE TITLE'S FONT (ACTUALLY, NOT ONLY THE TITLE FONT, BUT ALSO ALL LABEL FONTS) LOOKS BLUR, EVEN AFTER WE INSTALLED THE TTF ...

4. Category labels that have a font larger than 10    jfree.org

I have a problem with category labels that are larger than font size 10 (e.g. 12) and longer than one line. I overwrote the category axis to make the second line left aligned like the first one but when I changed the font size from 10 to 12 the letters went left out of the image and the line break is ...

5. change the legend label font    jfree.org

6. Domain Tick Label Font    jfree.org

7. Problem: I can not set label font for legend items    jfree.org

Hello; I want to change my chart's legend's label font. I tried the following, but got no result. Font font = Font.createFont(Font.TRUETYPE_FONT, new File(Constants.FONT_DIRECTORY + "arial.ttf")); LegendItemCollection itemCollection = chart.getXYPlot().getLegendItems(); for(int i = 0; i< itemCollection.getItemCount(); i++) { itemCollection.get(i).setLabelFont(font.deriveFont(Font.PLAIN, 8 ) ) ; itemCollection.get(i).setLabelPaint(new Color(211, 0, 0)); } When I debug and watch itemCollection.get(i).getLabelFont() interestingly I see that itemCollection.get(i).getLabelFont()= null; (same ...

8. Labels missing Fonts Cent OS    jfree.org