| « Graphs via perl | Birthday Dinner » |
Charts and Graphcs in HTML
I've been toying with a few options for makings bar charts and graphs on a web page.
The first and easiest is using a one pixel graphic and specifying the height and width image tags to make that color any size I wish. The limitations are that its forced to be the color of the pixel (although I can generate lots of those).
Then I found a program called fly that can generate a whole PNG file from drawing primitives.
Finally, I found out that I can generate the graphics directly inside PHP, and that is the path I am taking so far. If I cant pass parameters into it, then its back to fly for generating the picture, but at least I have interactively figured out the needed drawing commands.