Home » Images » Image_Graph » Bug #5421
Documentation for Image_Graph constructor wrong
Details
| Submitted | 2005-09-15 20:01 UTC |
|---|---|
| From | james dot kilbride at gd-ais dot com |
| Assigned | nosey |
| Status | Closed |
| Package | Image_Graph |
| PHP Version | 5.0.5 |
| OS | N/A |
| Roadmaps | (Not assigned) |
Comments
[2005-09-15 20:01 UTC] james dot kilbride at gd-ais dot com
Description:
------------
Documentation on Image_Graph constructor states:
1) Create a new driver with the following parameters:
'driver' - The driver type, can be any of 'gd', 'jpg', 'png' or 'svg' (more to come) - if omitted the default is 'gd'
'width' - The width of the graph
'height' - The height of the graph
An example of this usage:
$Graph =& Image_Graph::factory('graph', arrray(array('width' => 400, 'height' => 300, 'driver' => 'jpg')));
arrray is incorrect, should be array.
Expected result:
----------------
Fix Arrray to array.