diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-10-27 13:05:22 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-10-27 13:05:22 +0000 |
commit | 454b96f54673bbd3e35100e6683fa781808ebd4b (patch) | |
tree | fc99830f6bdc4a0f8921fb12998fd7df6e8a4477 /src/axis | |
parent | 1d0cc07e07709c1bc59bbbf591c23b846d4fce57 (diff) | |
download | zetacomponents-graph-454b96f54673bbd3e35100e6683fa781808ebd4b.zip zetacomponents-graph-454b96f54673bbd3e35100e6683fa781808ebd4b.tar.gz |
- Added missing tests for axis
Diffstat (limited to 'src/axis')
-rw-r--r-- | src/axis/date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/axis/date.php b/src/axis/date.php index 7bb8e1c..ac9cd1f 100644 --- a/src/axis/date.php +++ b/src/axis/date.php @@ -150,7 +150,7 @@ class ezcGraphChartElementDateAxis extends ezcGraphChartElementAxis { foreach ( $values as $value ) { - if ( is_numeric( $value ) ) + if ( is_int( $value ) || is_float( $value ) ) { $value = (int) $value; } |