RE: [PHP] Bar Charts in PDFs

From: Date: Fri, 11 Feb 2011 10:08:47 +0000
Subject: RE: [PHP] Bar Charts in PDFs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-311245@lists.php.net to get a copy of this message
Hi Tom, Have a look at the library called 'pChart': http://pchart.sourceforge.net/ While it's a bit old, it generates very nice looking (anti aliased) charts, using the default GD library. Regards, Mattias -----Original Message----- From: Tom Barrett [mailto:tom@miramedia.co.uk] Sent: vrijdag 11 februari 2011 10:55 To: php-general@lists.php.net Subject: [PHP] Bar Charts in PDFs Hi I need to generate some PDF reports (1000s). Part of the report is a set of bar charts (the results of a questionnaire). Each question has the same 5 answers (v.bad, bad, ok ,good, v.good) and the chart is the % distribution of the answers. My plan is to create a HTML version, using "some graph drawing"* (saving a copy of the HTML to disk), creating a PDF version using html2pdf (saving a copy to disk and emailing to the recipient). I think html2pdf can handle this. But I have not had much success finding something to draw my graphs. Any (free) simple libraries out there I could be pointed towards? Thanks! Tom

« previous php.general (#311245) next »