On Thu, Feb 17, 2011 at 2:13 PM, Ashley M. Kirchner <ashley@xxxxxxxxxx> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php