summaryrefslogtreecommitdiffstats
path: root/src/interfaces
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-08-07 08:54:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-08-07 08:54:35 +0000
commitd5bea5137c89620edda8e2db60d64ac4b4cedcc8 (patch)
tree6a237445d7f2075309f73fd72423ca46654df710 /src/interfaces
parent26d70a2a24d560f24c75555c19527d63819c7150 (diff)
downloadzetacomponents-graph-d5bea5137c89620edda8e2db60d64ac4b4cedcc8.zip
zetacomponents-graph-d5bea5137c89620edda8e2db60d64ac4b4cedcc8.tar.gz
- Fixed bug #11180: Color Palette: $dataSetColor in ezcGraphPalette starts
with index 1 and not zero in pie charts # All images of pie charts required an update of course. # Same for test cases explicitely checking the color values.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/palette.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/interfaces/palette.php b/src/interfaces/palette.php
index 40a2365..16d9f1c 100644
--- a/src/interfaces/palette.php
+++ b/src/interfaces/palette.php
@@ -158,6 +158,17 @@ abstract class ezcGraphPalette
}
/**
+ * Manually reset the color counter to use the first color again
+ *
+ * @access public
+ */
+ public function resetColorCounter()
+ {
+ $this->colorIndex = -1;
+ $this->symbolIndex = -1;
+ }
+
+ /**
* Returns the requested property
*
* @param string $propertyName Name of property
OpenPOWER on IntegriCloud