Commit d04d4e78 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Image_Graph fix for pie graph legends (http://pear.php.net/bugs/bug.php?id=8055)


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 9c1e947c
......@@ -499,7 +499,6 @@ class Image_Graph_Plot_Pie extends Image_Graph_Plot
if (is_array($this->_dataset)) {
$this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
$this->_clip(true);
$totals = $this->_getTotals();
$totals['CENTER_X'] = (int) (($this->_left + $this->_right) / 2);
......@@ -613,7 +612,6 @@ class Image_Graph_Plot_Pie extends Image_Graph_Plot
}
}
unset($keys);
$this->_clip(false);
$this->_canvas->endGroup();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment