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

Bug #6921 Marker not drawn for points with Y value == 0
Submitted: 2006-02-24 09:56 UTC
From: dsier at g-point dot biz Assigned: nosey
Status: Closed Package: Image_Graph (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 6 + 31 = ?

 
 [2006-02-24 09:56 UTC] dsier at g-point dot biz (Darek Sieradzki)
Description: ------------ In Plot.php: if (((!is_object($this->_dataSelector)) || ($this->_dataSelector->_select($point))) && ($point['Y'] != null)) { should be: if (((!is_object($this->_dataSelector)) || ($this->_dataSelector->_select($point))) && ($point['Y'] !== null)) { (== changed to !==) This way datapoints with null value (graph breaks) would be ignored by markers, but datapoints with value == 0 would be drawn as expected.

Comments

 [2006-02-28 22:33 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.