Posted by David Haynes on 01/11/06 00:59
Richard Brooks wrote:
> 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.
look for jpgraph. It will do this.
-david-
Navigation:
[Reply to this message]
|