Need Pie chart created in PHP / GD
$30-100 USD
Thanh toán khi bàn giao
We need a PHP function to build a pie graph image.
## Deliverables
PHP function to create a pie graph with legend using GD and write the image to a file (PNG or JPEG).
-= INPUT =-
The function will take an array which would contain the following:
- Description
- Integer
- Color
-= PROCESSING =-
The function will use the array to build a pie graph (preferably 3D but not required). The values of each pie piece will be determined by the integer values from the array.
Each pie piece should be colored with the related color from the array.
Each pie piece should also be designated with a numeric percentage indicator next to the pie piece.
The legend should list the following for each item in the array:
- A small square color indicator
- The description
- Percentage of the pie
The function will then write the image to a PNG or JPEG file.
-= OUTPUT =-
The function would return the full path and name of the file created.
Coder must use their own development environment.
We require full source code and any open source libraries necessary should be included for closure of the project.
ID dự án: #3971337