diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-08-07 08:54:35 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-08-07 08:54:35 +0000 |
commit | d5bea5137c89620edda8e2db60d64ac4b4cedcc8 (patch) | |
tree | 6a237445d7f2075309f73fd72423ca46654df710 /src/interfaces | |
parent | 26d70a2a24d560f24c75555c19527d63819c7150 (diff) | |
download | zetacomponents-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.php | 11 |
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 |