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 #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.