Posted by Oli Filth on 10/18/71 11:18
Oli Filth said the following on 11/06/2005 01:54:
> Paul Charlton-Thomson said the following on 10/06/2005 23:33:
>
>> Hi,
>>
>> I am passing 8 values each from 1 to 10 to a php page and at the
>> moment I am
>> drawing a bar chart using shaded cells to represent the magnitude of each
>> bar.
>>
>> I would also like to draw these values into a pie chart ... can anyone
>> tell
>> me if this is possible? If so can you point me to some example code?
>>
>
> I doubt there's any built-in pie-chart functions in PHP, but it's not
> hard to draw your own.
>
Sorry, I didn't finish what I was gonna say!
There's functions such as imagefilledarc(), which would probably be
enough to do what you want.
http://uk2.php.net/manual/en/function.imagefilledarc.php
--
Oli
[Back to original message]
|