JFreeChart with Servlet and pdf

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Scott

JFreeChart with Servlet and pdf

Post by Scott » Thu May 16, 2002 10:24 pm

Hi...
I'm hoping someone can help... and soon. I've just started a java program and need some info on JFreeChart. Basically i've read some stuff on it, but it seems that there is not much info on JFreeChart working with servlet. Just a mention that you can do it.

Also can the JFreeChart be developed into pdf(s). If so, how? Can i get some examples and maybe the jar files (if needed) to work with this code.

Also the JFree chart will be generated using xml documents. Any info will be helpful. Thanks

David Gilbert

Re: JFreeChart with Servlet and pdf

Post by David Gilbert » Fri May 17, 2002 4:57 am

Scott wrote:
> it seems that there is not
> much info on JFreeChart working with servlet. Just a mention
> that you can do it.

I hope to extend the JFreeChart documentation to cover servlets, but I'm still learning about servlets so it may take some time. In the meantime, you'll have to review the sample applications that Bryan Scott has contributed to the project.

> Also can the JFreeChart be developed into pdf(s). If so, how?
> Can i get some examples and maybe the jar files (if needed)
> to work with this code.

There is a document jfreechart2pdf.pdf which you can download from the JFreeChart project page on SourceForge. It describes how to generate PDF files using JFreeChart and iText.

> Also the JFree chart will be generated using xml documents.
> Any info will be helpful. Thanks

Do you mean the data is in XML format? There is some code related to this, which I haven't reviewed yet but I will soon and incorporate it into JFreeChart if possible:

http://www.l-u-r.de/opensource/jfreechart/

Regards,

DG.

Locked