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
