Search found 2 matches

by smoothcha027
Tue Jul 10, 2018 3:22 pm
Forum: JFreeChart
Topic: so I tried the following code?
Replies: 0
Views: 712

so I tried the following code?

Hello, I need to underline the title of my charts, so I tried the following code : Map m = new HashMap(); m.put(TextAttribute.SIZE, new Float(30)); m.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON); Font font = new Font(m); myGraph.setTitleFont(font); but it doesn't seem to work. The font h...
by smoothcha027
Mon Jul 09, 2018 8:08 am
Forum: JFreeChart
Topic: jpeg or other image format file?
Replies: 1
Views: 796

jpeg or other image format file?

i want to know that is there a method from JFreeChart library which can simply save the JFreeChart to a gif or jpeg or other image format file?

thanks for your attention and help!