jpeg or other image format file?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
smoothcha027
Posts: 2
Joined: Sun Jul 08, 2018 5:50 pm
antibot: No, of course not.

jpeg or other image format file?

Post by smoothcha027 » Mon Jul 09, 2018 8:08 am

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!

daress
Posts: 23
Joined: Tue Mar 13, 2007 4:52 pm
Contact:

Re: jpeg or other image format file?

Post by daress » Mon Jul 09, 2018 4:43 pm

Look at the ChartUtils class - there are many utility methods available for saving the JFreeChart as a PNG or JPEG.

Locked