If the chart is really basic you can create it yourself inside a template
and place it anywhere. There is a very basic example in stencil_pattern.java
at www.geocities.com/itextpdf. The better way is to use JFreeChart and write
the chart to a Graphic2D. The conversion to PDF is vectorial. You have docs
on doing this in www.jfree.org.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: klute [SMTP:[EMAIL PROTECTED]
> Sent: Sunday, July 13, 2003 20:07
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] creating a chart and saving it as PDF
> 
> Hi All
> i need to generate a basic bar chart and then add it
> to the PDF created with iText. I have not really seen
> any references to the ability to create charts in the
> docs for iText. Cna someone tell me if it is possible
> and/or give me some hints as to how this could be
> done?
> 
> Originally i thought of creating a chart in Flash (my
> friend knows how to do it already), saving it as an
> image and then adding to my generated PDF. However, we
> need the chart to have a high resolution and nicely
> zoomable/scalable. i guess it would be possible to
> convert the resulting Flash chart into an SVG to
> achieve this effect. I wonder if this will do the
> trick. Any ideas?
> 
> Thanks to all,
> James
> 
> 
>   
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to