Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Bug #5502 Axis_Logarithmic::setAxisIntersection('max') is broken
Submitted: 2005-09-23 13:33 UTC
From: nospam0 at malkusch dot de Assigned: nosey
Status: Closed Package: Image_Graph
PHP Version: 5.0.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


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

Comments

 [2005-09-25 17:52 UTC] nosey
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. That is right: it is wrong :)