summaryrefslogtreecommitdiffstats
path: root/src/axis/date.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/axis/date.php')
-rw-r--r--src/axis/date.php2
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 );
}
/**
OpenPOWER on IntegriCloud