Bug #4708 [NEW]: There is no Image_Graph::addData()
| From: | bruno at lustosa dot net | Date: | Wed, 29 Jun 2005 20:13:04 +0000 |
| Subject: | Bug #4708 [NEW]: There is no Image_Graph::addData() | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6409@lists.php.net to get a copy of this message | ||
From: bruno at lustosa dot net
Operating system: Linux
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: There is no Image_Graph::addData()
Description:
------------
Using Image_Graph 0.4.0 and Image_Color 1.0.1
I can include Graph.php ok, no error at all.
I can create a new Image_Graph object also.
However, I can't call addData(). Moreover, I grepped the whole tree (from
the .tgz) for addData and didn't find anything.
Reproduce code:
---------------
This was just a small test, as I was still experimenting with the class.
<?php
require_once 'Image/Graph.php';
$data = Array(1,10,5,8,7,15,2,7);
$graph =& new Image_Graph( 200, 100 );
$graph->addData( $data );
?>
Expected result:
----------------
Anything, except:
"Fatal error: Call to undefined function: adddata()"
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=4708&edit=1
--