sridhar, you need to understand: - gwt and gchart is a js/browser based technology. - there are no js/client based pdf libs till date(that i know of). - your only option is to generate pdf on the server and provide a url for the user to download. - on the server you can use various reporting tools like jasper etc. or you could simply use itext. - the bottom line here is that you cannot use the output of gchart in your pdf on server side. - There are quite a free easy to use, good looking chart generation apis for the server.
on the other hand: - Using jtidy and xsl-fo you can create pdf from a html. - You can always instantiate your gchart on the server and generate the output as dom string(viz html!). - with that said, technically you should get a gchart in pdf even on the server. But good luck if you are following that approach. Because as per my experience it takes quite some effort to extract anything meaningful out of xsl-fo. On Oct 15, 3:05 am, sridhar <[EMAIL PROTECTED]> wrote: > Hi all, > > I have generated some graphs using gwt's GChart.jar.Now i want that > graphs to be generated in pdf file.how can i do that pls help me. > regards, > sridhar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
