diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-12-13 11:10:53 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-12-13 11:10:53 +0000 |
commit | ab61c80e08eba3477e8918d3357d37f9d104fc0c (patch) | |
tree | dd71bc6c02aba37257de3001e504b2e41b990777 /src/datasets/array.php | |
parent | 5c274a550bf732ff5ffaf59db0d4a5f7b86a521e (diff) | |
download | zetacomponents-graph-ab61c80e08eba3477e8918d3357d37f9d104fc0c.zip zetacomponents-graph-ab61c80e08eba3477e8918d3357d37f9d104fc0c.tar.gz |
- Fixed: Bug #9795 (Interferring bars, when bars count is higher then major
step count)
Diffstat (limited to 'src/datasets/array.php')
-rw-r--r-- | src/datasets/array.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/datasets/array.php b/src/datasets/array.php index 8eaf921..e28a761 100644 --- a/src/datasets/array.php +++ b/src/datasets/array.php @@ -42,6 +42,16 @@ class ezcGraphArrayDataSet extends ezcGraphDataSet $this->data[$key] = $value; } } + + /** + * Returns the number of elements in this dataset + * + * @return int + */ + public function count() + { + return count( $this->data ); + } } ?> |