diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-01-18 11:30:27 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-01-18 11:30:27 +0000 |
commit | 1d00d843091b1cb474d5580329d1114d90e4ac2d (patch) | |
tree | 55811d93c369d3d7a8a813c98d88488db193a944 /src/axis/date.php | |
parent | 5494f63476e4baa446b017e32755b087d32c1255 (diff) | |
download | zetacomponents-graph-1d00d843091b1cb474d5580329d1114d90e4ac2d.zip zetacomponents-graph-1d00d843091b1cb474d5580329d1114d90e4ac2d.tar.gz |
- Missed and fixed one test case for issue #10018.
Diffstat (limited to 'src/axis/date.php')
-rw-r--r-- | src/axis/date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/axis/date.php b/src/axis/date.php index de02613..ce7d6b6 100644 --- a/src/axis/date.php +++ b/src/axis/date.php @@ -426,7 +426,7 @@ class ezcGraphChartElementDateAxis extends ezcGraphChartElementAxis */ public function getMajorStepCount() { - return (int) ( ( $this->properties['endDate'] - $this->startDate ) / $this->interval ); + return (int) ceil( ( $this->properties['endDate'] - $this->startDate ) / $this->interval ); } /** |