> Hi, > > > I am creating a pdf > file consisting of chapters, sections and subsections. Now I want to add an > jFreeChart Chart into a chapter or a section.
I, too, am using JFreeChart in my application. I simply add the charts as Image objects to Paragraphs, as follows: Paragraph result = new Paragraph(); JFreeChart chart = new JFreeChart(plot); result.add(Image.getInstance(chart.createBufferedImage(250, 250), null)); Hope this helps ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/