Re: Using PHP + GD to make bar graphs?
| From: | Robert L. Yelvington | Date: | Thu, 05 Jul 2001 19:16:34 +0000 |
| Subject: | Re: Using PHP + GD to make bar graphs? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56342@lists.php.net to get a copy of this message | ||
Awesome!
They look very nice and usable...just the way i like 'em.
I'd be interested in seeing the source code...you can reply directly to my
email account if you like! are you using a graphic package like GD? or are
you using the 'poor mans bar graph' method using tables and percentage
widths?
~thx
rob
on 7/5/01 10:15 AM, Arcady Genkin at a.genkin@utoronto.ca wrote:
> While taking a university course I needed to ``squash the competition'' by
> hacking together quick bar-charts with PHP. These are not very
> sophisticated, but I liked my approach because they generate very
> little graphics (read: fast downloads), and when you roll a mouse over
> a bar, you get numeric value for it. Have a look at:
> http://www.thpoon.com/408/barchart.php
> Input is taken from a text file. If anyone is interested in the
> source code, let me know and I'll release it. The code is rather
> trivial, though.