Hi there!
I came across JFreeChart couple of days ago. I am intrested in using it for our application, but I need these charts to be displayed on the website.
Currently, we are doing it with Java2D buffered Image. Is that possible get charts in Gif format, so that we can embed them in our jsp/html pages.
Please let me know. Thanks ver much!
-Madhavi
Charts in Gif Format
Re: Charts in Gif Format
You can use the Acme gif encoder to convert a BufferedImage (or any other java.awt.Image) into a gif.
http://www.acme.com/java/software/Acme. ... coder.html
--jim
http://www.acme.com/java/software/Acme. ... coder.html
--jim
Re: Charts in Gif Format
You can also display the images as JPEG or PNG. The methods to do so are in com.jrefinery.chart.ChartUtilities. You can look at the servlet demo for some ideas on how to generate the charts for your system.