diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-12-15 10:23:06 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-12-15 10:23:06 +0000 |
commit | 0f0d4def49664b84f9aebc9ac94f4b9ac3a5a8bb (patch) | |
tree | 087544c02969453e03a27336fe54e02de7a888bc /src/axis | |
parent | 608e7e2984878c368127f41bb722c416e533c646 (diff) | |
download | zetacomponents-graph-0f0d4def49664b84f9aebc9ac94f4b9ac3a5a8bb.zip zetacomponents-graph-0f0d4def49664b84f9aebc9ac94f4b9ac3a5a8bb.tar.gz |
- Fixed majorStep default value to be null
Diffstat (limited to 'src/axis')
-rw-r--r-- | src/axis/numeric.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/axis/numeric.php b/src/axis/numeric.php index b596774..bff04aa 100644 --- a/src/axis/numeric.php +++ b/src/axis/numeric.php @@ -260,12 +260,12 @@ class ezcGraphChartElementNumericAxis extends ezcGraphChartElementAxis } // Calculate "nice" values for scaling parameters - if ( $this->properties['majorStep'] === false ) + if ( $this->properties['majorStep'] === null ) { $this->calculateMajorStep( $this->properties['minValue'], $this->properties['maxValue'] ); } - if ( $this->properties['minorStep'] === false ) + if ( $this->properties['minorStep'] === null ) { $this->calculateMinorStep( $this->properties['minValue'], $this->properties['maxValue'] ); } |