diff options
Diffstat (limited to 'src/axis/labeled.php')
-rw-r--r-- | src/axis/labeled.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/axis/labeled.php b/src/axis/labeled.php index cf1277f..7b1225c 100644 --- a/src/axis/labeled.php +++ b/src/axis/labeled.php @@ -204,6 +204,19 @@ class ezcGraphChartElementLabeledAxis extends ezcGraphChartElementAxis return false; } } + + /** + * Is zero step + * + * Returns true if the given step is the one on the initial axis position + * + * @param int $step Number of step + * @return bool Status If given step is initial axis position + */ + public function isZeroStep( $step ) + { + return !$step; + } } ?> |