summaryrefslogtreecommitdiffstats
path: root/src/element
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2008-12-15 10:25:02 +0000
committerKore Nordmann <github@kore-nordmann.de>2008-12-15 10:25:02 +0000
commitee4921182061ebb9f9e8ebc6a993e9fd8dd53aae (patch)
tree5ed036116a833b44d6bdc15808591eaa34c75ac7 /src/element
parentf30524cc2d88ec3864dcf020bb37a5039095c8c5 (diff)
downloadzetacomponents-graph-ee4921182061ebb9f9e8ebc6a993e9fd8dd53aae.zip
zetacomponents-graph-ee4921182061ebb9f9e8ebc6a993e9fd8dd53aae.tar.gz
- Reverted accidential committed restriction on allowed axis space values.
Diffstat (limited to 'src/element')
-rw-r--r--src/element/axis.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/element/axis.php b/src/element/axis.php
index f79965c..d9b615e 100644
--- a/src/element/axis.php
+++ b/src/element/axis.php
@@ -198,10 +198,10 @@ abstract class ezcGraphChartElementAxis extends ezcGraphChartElement
break;
case 'axisSpace':
if ( !is_numeric( $propertyValue ) ||
- ( $propertyValue <= 0 ) ||
+ ( $propertyValue < 0 ) ||
( $propertyValue > 1 ) )
{
- throw new ezcBaseValueException( $propertyName, $propertyValue, '0 < float <= 1' );
+ throw new ezcBaseValueException( $propertyName, $propertyValue, '0 <= float <= 1' );
}
$this->properties['axisSpace'] = (float) $propertyValue;
OpenPOWER on IntegriCloud