summaryrefslogtreecommitdiffstats
path: root/src/axis/numeric.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/axis/numeric.php')
-rw-r--r--src/axis/numeric.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/axis/numeric.php b/src/axis/numeric.php
index 1bf3cfe..85da3f6 100644
--- a/src/axis/numeric.php
+++ b/src/axis/numeric.php
@@ -8,7 +8,12 @@
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
- * Class to represent a axe as a chart element
+ * Class to represent a numeric axis. The axis tries to calculate "nice" start
+ * and end values for the axis scale. The used interval is considered as nice,
+ * if it is equal to [1,2,5] * 10^x with x in [.., -1, 0, 1, ..].
+ *
+ * The start and end value are the next bigger / smaller multiple of the
+ * intervall compared to the maximum / minimum axis value.
*
* @property float $min
* Minimum value of displayed scale on axis.
@@ -19,7 +24,6 @@
* @property float $maxValue
* Maximum value to display on this axis.
*
- *
* @package Graph
*/
class ezcGraphChartElementNumericAxis extends ezcGraphChartElementAxis
OpenPOWER on IntegriCloud