A discussion forum for JFreeChart (a 2D chart library for the Java platform).
- Posts: 2
- Joined: Sun Jul 08, 2018 5:50 pm
- antibot: No, of course not.
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!
- Posts: 23
- Joined: Tue Mar 13, 2007 4:52 pm
Look at the ChartUtils
class - there are many utility methods available for saving the JFreeChart as a PNG or JPEG.