Google Chart and DataTable export in same File
Google Chart and DataTable export in same File
oliverhartmann
Posts: 4Questions: 2Answers: 0
I'm working with DataTables for this Project and i'm using the google visualisation API for my Charts. Is it possible to export the chart and the DataTable in the same PDF?
Thanks for the answers.
Best regards
Oliver
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The makepdf library that is used by Buttons for the file export accepts images in base64 format. So if you can get the Google chart in base64, then I don't see any reason why you couldn't insert the chart as an image into the pdf using the information in the makepdf documentation for how to insert images.
Allan
Hi Allan
So that means i only need to convert the Google Chart in a base64 String. Then it should be possible to Export it together with the Datas from the Table.
I would try this Thank you
Oliver