If you convert the chart to a PNG image file (using a hack like
this one), you can import it into a PDF, but generally speaking, there is no way to directly import a Visualization API chart into a PDF. It is possible that the Itext software uses some trick that I don't know about to work its magic, so it's worth giving it a shot, but my expectation is that it won't work.
On Monday, February 4, 2013 6:41:03 PM UTC-5, Choy wrote:
yes. So does that mean google charts cannot render on a PDF?
Does Itext do all of its work server-side? If so then you are likely out of luck, as the charts are all rendered client-side, so there isn't anything for Itext to convert to PDF when it does its thing.
On Monday, February 4, 2013 6:05:38 PM UTC-5, Choy wrote:
Hi,I am using Itext in Java to generate a PDF version of my JSP page that has Google charts.
I am wondering how to create google charts through Itext. Will this work, and could you provide me any samples on how to execute Javascript from Itext.
Thank you!
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.