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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.