embed google chart image in pdf with php
how do i embed an image generated by google charts into a PDF thr开发者_如何学Cough php ??
This will depend on the pdf libs used. some will take a url as a param, others a direct path. for the url type just use the url directly to the chart. for the local path check out something like this:
https://github.com/infinitas/infinitas/blob/beta/core/google/views/helpers/google_app_helper.php#L26
and then just feed it the new path to the image.
精彩评论