Use PdfContentByte.createGraphics() instead. Have a look at
http://prdownloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf

----- Original Message ----- 
From: "Todd Harris" <[EMAIL PROTECTED]>
To: "Itext List" <[email protected]>
Sent: Tuesday, January 11, 2005 8:40 PM
Subject: Re: [iText-questions] plotting graphs


> Okay so I looked at the code more(some of this isn't mine).  What we
> are doing is using a buffered image bi, creating a Graphics2D g =
> bi.createGraphics();
> drawChart(g) //which is using drawPolyline
> return com.lowagie.text.Image.getInstance(bi, null);
>
> and then using doc.add(Image); on the image that is returned.
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to