Re: Google Visualization Chart API
| From: | Bastien Koert | Date: | Thu, 17 Feb 2011 19:30:05 +0000 |
| Subject: | Re: Google Visualization Chart API | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311410@lists.php.net to get a copy of this message | ||
On Thu, Feb 17, 2011 at 2:13 PM, Ashley M. Kirchner <ashley@pcraft.com> wrote:
>
> I'm currently using Google Visualization API[1] to generate both
> interactive and static charts for a client and they're viewing these
> online[2]. However they now want to be able to download a PDF containing
> the charts (static) in it. Does anyone know of a way where I can take the
> same API and create a PDF document instead?
>
> I've worked with fpdf[3] in the past to create PDFs on the fly so that's
> no problem. The problem is figuring out how to get the charts in such a way
> that I can shove them into the PDF.
>
> [1] http://code.google.com/apis/visualization/
> [2] Example: http://www.yeehaw.net/chart.html - feel free
> to view source
> [3] http://www.fpdf.org/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Convert the chart to an image and then insert that into the pdf
--
Bastien
Cat, the other other white meat