cvs: pear /Image_Graph/Graph/Data Bar.php Line.php
| From: | Tobias Schlitt | Date: | Mon, 16 Feb 2004 21:40:42 +0000 |
| Subject: | cvs: pear /Image_Graph/Graph/Data Bar.php Line.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16606@lists.php.net to get a copy of this message | ||
toby Mon Feb 16 16:40:42 2004 EDT
Modified files:
/pear/Image_Graph/Graph/Data Bar.php Line.php
Log:
* Ongoing work. Maybe broken.
http://cvs.php.net/diff.php/pear/Image_Graph/Graph/Data/Bar.php?r1=1.11&r2=1.12&ty=u
Index: pear/Image_Graph/Graph/Data/Bar.php
diff -u pear/Image_Graph/Graph/Data/Bar.php:1.11 pear/Image_Graph/Graph/Data/Bar.php:1.12
--- pear/Image_Graph/Graph/Data/Bar.php:1.11 Sun Feb 15 16:38:44 2004
+++ pear/Image_Graph/Graph/Data/Bar.php Mon Feb 16 16:40:42 2004
@@ -16,7 +16,7 @@
// | Author: Stefan Neufeind <pear.neufeind@speedpartner.de> |
// +----------------------------------------------------------------------+
//
-// $Id: Bar.php,v 1.11 2004/02/15 21:38:44 toby Exp $
+// $Id: Bar.php,v 1.12 2004/02/16 21:40:42 toby Exp $
/**
* Bar data-element
@@ -153,7 +153,7 @@
($drawWhat == IMAGE_GRAPH_DRAW_JUSTBORDER)) {
if (!is_null($this->_fill) &&
(strtolower(get_class($this->_fill)) ==
"image_graph_fill_solid") &&
- ($this->_arraysEqual($this->_color,
$this->_fill->_attributes["color"]))
+ ($this->_arraysEqual($this->_color,
@$this->_fill->_attributes["color"]))
) {
// simply do nothing in this case since drawing a border for the bar in the
same color will
// look the same if a solid fill is used as if we simply not draw the
border at all :-))
http://cvs.php.net/diff.php/pear/Image_Graph/Graph/Data/Line.php?r1=1.12&r2=1.13&ty=u
Index: pear/Image_Graph/Graph/Data/Line.php
diff -u pear/Image_Graph/Graph/Data/Line.php:1.12 pear/Image_Graph/Graph/Data/Line.php:1.13
--- pear/Image_Graph/Graph/Data/Line.php:1.12 Sun Feb 15 16:38:44 2004
+++ pear/Image_Graph/Graph/Data/Line.php Mon Feb 16 16:40:42 2004
@@ -16,7 +16,7 @@
// | Author: Stefan Neufeind <pear.neufeind@speedpartner.de> |
// +----------------------------------------------------------------------+
//
-// $Id: Line.php,v 1.12 2004/02/15 21:38:44 toby Exp $
+// $Id: Line.php,v 1.13 2004/02/16 21:40:42 toby Exp $
/**
* Line data-element for a Image_Graph diagram
@@ -178,7 +178,7 @@
($drawWhat == IMAGE_GRAPH_DRAW_JUSTBORDER)) {
for ($counter=0; $counter<$numData; $counter++) {
if (!is_array($this->_stackingData)) {
- $beforeData = array(0, $this->_data[$counter-1]);
+ $beforeData = array(0, @$this->_data[$counter-1]);
$currData = array(0, $this->_data[$counter]);
} else {
$beforeData = $this->_stackingData[$counter-1];