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:t...@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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to