PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Images » Image_Graph » Bug #4080

setSpaceFromBorder missing ??

Details

Submitted2005-04-06 14:51 UTC
Fromdevil1591 at yahoo dot fr
StatusBogus
PackageImage_Graph
PHP Version4.3.10
OSWindows
Roadmaps(Not assigned)

Comments

[2005-04-06 14:51 UTC] devil1591 at yahoo dot fr

Description:
------------
I used to use this great lib, but now, setSpaceFromBorder() is missing, could you please re-add it :)

[2005-04-06 20:35 UTC] pear dot nosey at veggerby dot dk

This is not a bug. setSpaceFromBorder() existed in version 0.2.1 (what we call "old" Image_Graph). The package changed from this version to be a merger with GraPHPite (a SourceForge project). This merger caused a _whole_ new API and amongst others resulted in the removal of setSpaceFromBorder().

However, IIRC setSpaceFromBorder() was simply a method to set some internal padding within the graph. This is possible (on almost all elements of "new" Image_Graph) by using the setPadding() method.

/Jesper

[2005-04-06 20:37 UTC] devil1591 at yahoo dot fr

Ok, thanks, I need to change the whole code, but that's ok ;)