开发者

What are the available ways/resources to create jpeg (or pdf) graphs/charts using java

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 t开发者_开发问答o 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.


  • Jasper Reports
  • iText
  • JFreeChart


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:

  • http://www.ibm.com/developerworks/xml/library/x-svggrph/
  • http://www.jfree.org/jfreechart/index.html (can produce PDF directly)
  • http://www.jfimagine.com/order.html (free for non-commercial)

I would prefer JFreeChart, since I used it successfully for years, and it always was stable and reliable.


JFreeChart + Docmosis is a reasonable combo for producing PDFs with images.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜