PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Graph » Bug #5502

Axis_Logarithmic::setAxisIntersection('max') is broken

Details

Submitted2005-09-23 13:33 UTC
Fromnospam0 at malkusch dot de
Assignednosey
StatusClosed
PackageImage_Graph
PHP Version5.0.2
OSLinux
Roadmaps(Not assigned)

Comments

[2005-09-23 13:33 UTC] nospam0 at malkusch dot de

Description:
------------
Hi Axis_Logarithmic::setAxisIntersection() is not able to
be used with 'max'. That's because of

function Axis_Logarithmic::_intersectPoint($value)
{
if ($value <= 0) {
$value = 1;
}
return parent::_intersectPoint($value);
}

If I understand it correctly, a valid value for $value
should be 'max', but ('max' <= 0) === true.