summaryrefslogtreecommitdiffstats
path: root/src/axis/labeled.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-31 10:09:24 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-31 10:09:24 +0000
commitbe71d4bacef6f010a54df59356f97727a932de43 (patch)
tree66506017c342c9d745346619f8ddcadff3e72b4c /src/axis/labeled.php
parent4a2d7f6335135e7fe09ae71e6d9bc6dbd7100281 (diff)
downloadzetacomponents-graph-be71d4bacef6f010a54df59356f97727a932de43.zip
zetacomponents-graph-be71d4bacef6f010a54df59356f97727a932de43.tar.gz
- Added test for axis rendering
- Implemented axis rendering - Missing lables
Diffstat (limited to 'src/axis/labeled.php')
-rw-r--r--src/axis/labeled.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/axis/labeled.php b/src/axis/labeled.php
index 50d7489..381a7b8 100644
--- a/src/axis/labeled.php
+++ b/src/axis/labeled.php
@@ -131,6 +131,26 @@ class ezcGraphChartElementLabeledAxis extends ezcGraphChartElementAxis
}
}
}
+
+ /**
+ * Return count of minor steps
+ *
+ * @return integer Count of minor steps
+ */
+ protected function getMinorStepCount()
+ {
+ return 0;
+ }
+
+ /**
+ * Return count of major steps
+ *
+ * @return integer Count of major steps
+ */
+ protected function getMajorStepCount()
+ {
+ return count( $this->labels );
+ }
}
?>
OpenPOWER on IntegriCloud