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  


 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!