Jump to content

PHP GD PIE Chart


neel_basu

Recommended Posts

I need your help to help you and others.As I saw so many persons are asking for PIE Charts, I am making 1 easy to use pie chart library.

But the problem is the colors of the pie graphs(the colors of al pie segments are almost same). and my request to You is to Replace those colors with Suitable colors thats is not same as other colors.You will get the list of colors in lib.php Just bellow the line no. 18. A combination of r, g, b.

Extract it and open the class.pie.php in your browser.

Here you can download the Zip package.

And Here is 2 sample PIE Images

piele5.th.png       piedataoi9.th.png

As its a Pre realese version you can add data as PERCENTAGE.e.g. Yahoo 20% msn 25% gmail 50%  an example is already is already done at the end of class.pie.php. PLease edit after line no. 18 on lib.php and Suggest some better color.

Here I've Uploaded the zip Package PLease Download this Package from here and ........

This Class will be the next pluging (Chart and Graphs Plugin) in Zigmoyd Library.

Link to comment
https://forums.phpfreaks.com/topic/48113-php-gd-pie-chart/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.