diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2008-12-04 16:03:47 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2008-12-04 16:03:47 +0000 |
commit | b0bd4a7169a375ff74266d5cb15e817b1484dc07 (patch) | |
tree | 4d6aed10aaec67892ce1f0137726ebef60b6722e /src/element | |
parent | b322a8d3c8f26d9df21244319c3a2aa281795d07 (diff) | |
download | zetacomponents-graph-b0bd4a7169a375ff74266d5cb15e817b1484dc07.zip zetacomponents-graph-b0bd4a7169a375ff74266d5cb15e817b1484dc07.tar.gz |
- Implemented feature #014010: Possibility to set x/y offsets for
highlightValue (Patch by Markus Lervik)
Diffstat (limited to 'src/element')
-rw-r--r-- | src/element/axis.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/element/axis.php b/src/element/axis.php index d9b615e..f79965c 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; |