note 54334 deleted from ref.image by tularis
| From: | tularis@php.net | Date: | Sun, 29 Jun 2008 21:06:58 +0000 |
| Subject: | note 54334 deleted from ref.image by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140942@lists.php.net to get a copy of this message | ||
Note Submitter: alex at bestgames dot ro
----
This function helps you to create a simple statistic graphics.
Arguments
$values, values should be separed by comma
$options may be separed by comma options can be timeline=format, title=a string or image=a source,
where format can be sec, min, hour, days/number, days/name, months/number, months/name or years.
$x, $y reffers to upper left corner where the graphic should begin
$image is the image resource
$graphic_color, $highlight_color, $grid_color are colors strings
Hope it will be useful!
Example of function:
function image_create_grid("1,2,3,4,5", "title=A simple
graphic,timeline=months/name", 0, 0, $image, "navy, "green", "gray")
The source can be accessed at http://www.bestgames.ro/source/statistics.txt,
it was too long to bve posted here.