Home » Images » Image_Graph » Bug #6921
Marker not drawn for points with Y value == 0
Details
| Submitted | 2006-02-24 09:56 UTC |
|---|---|
| From | dsier at g-point dot biz |
| Assigned | nosey |
| Status | Closed |
| Package | Image_Graph |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-02-24 09:56 UTC] dsier at g-point dot biz
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.