Forum How do I...?

Using Google chart

hbouazza
Hello,

I would like to use Google Chart libraries on my PDFs.

But when i execute it, my div still empty and it doesn't render the chart, does anyone know the solution of this problem? is there any function to add to script to render with delay? (because i tried many solutions even setTimeout but it doesn't work).

Google Chart is it supported by Prince or not yet?

Thanks
mikeday
It might require features we haven't implemented in Prince yet, have you enabled JavaScript? Are there any errors or warnings in the Prince output log?
hbouazza
i had enabled javascript and i even used an old release of Google Chart because the last one has some errors but i still have anything in my PDF and there is no Error on command line. I need to know if there any function to delay rendering chart or something like that, i tried it with docraptor and it worked (and we know that Docraptor use Prince to generate PDF)
mikeday
Would you be able to email me (mikeday@yeslogic.com) or link to a simple example document?
adampal
Hi Mike & hbouazza,
Did you ever get this working?
Thanks!