On 3/08/2011 15:13, anishlodha04 wrote: > But it isn't working... It works for us in the sense that we can embed FusionCharts SWFs into a PDF defining FlashVars.
However: most FusionCharts SWFs aren't optimal for use in PDF. They have a scaleMode different from StageScaleMode.EXACT_FIT. As a result, the layout of the component gets all screwed up as soon as you print and/or zoom in/out. In order to fix this, you need to change the source code of the FusionCharts SWFs. That is problem 1: FusionCharts isn't open source in the sense that you only get the source if you have an enterprise license of FusionCharts. Problem 2 we've experienced with FustionCharts: if you succeed in setting the scaleMode correctly, the output is still bad for some components. To solve problem 2, you should rewrite the component to get an optimal visualization. This isn't really an iText problem. We've integrated FusionCharts SWFs into PDFs using the code from the book without any problem. However: we decided not to use FusionCharts because of Problem 1 and Problem 2 described above. We decided to write our own SWFs. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php