|
Posted by Richard Brooks on 01/11/06 00:52
twins wrote:
> Please let me know the easiest method to create a JPEG/GIF bar chart
> from PHP.
> I have found solutions that allow creation of swf/flash charts but I
> need a jpeg/jpg/gif bar chart.
As you'd have access to the height of an image even through HTMLs IMG
property, you could make each bar one colour JPEG/GIF image block and
access that using data from a database to change the height of the block.
I'd imagine the actual value would have to be the top-most location
value minus the height if you want the bottom to stay along a horizontal
line, the values growing upward.
Richard.
Navigation:
[Reply to this message]
|