Re: Using PHP + GD to make bar graphs?
| From: | Arcady Genkin | Date: | Thu, 05 Jul 2001 17:15:28 +0000 |
| Subject: | Re: Using PHP + GD to make bar graphs? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56340@lists.php.net to get a copy of this message | ||
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.
--
Arcady Genkin
i=1; while 1, hilb(i); i=i+1; end