Hi,
I'm looking for ways to create JPEG(or PDF) graphs/charts using JAVA. Any suggestions?
Ultimately I want to make a PDF report, but I figured that even if I get the graph in JPEG then I can use a JPEG to PDF converter to make it a PDF.
Thanks.
Hi,
I'm looking for ways to create JPEG(or PDF) graphs/charts using JAVA. Any suggestions?
Ultimately I want to make a PDF report, but I figured that even if I get the graph in JPEG then I can use a JPEG to PDF converter to make it a PDF.
Thanks.
We are using JFreeChart for this. I do not know of other options, but this has served us well.
It is NOT the best idea to "convert" a jpeg to PDF, because the JPEG still contains of pixels then. If you can, do produce vector charts which will look much nicer and produce a smaller PDF.
See these sites:
I would prefer JFreeChart, since I used it successfully for years, and it always was stable and reliable.