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/datasets | |
parent | 1d0cc07e07709c1bc59bbbf591c23b846d4fce57 (diff) | |
download | zetacomponents-graph-454b96f54673bbd3e35100e6683fa781808ebd4b.zip zetacomponents-graph-454b96f54673bbd3e35100e6683fa781808ebd4b.tar.gz |
- Added missing tests for axis
Diffstat (limited to 'src/datasets')
-rw-r--r-- | src/datasets/array.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/datasets/array.php b/src/datasets/array.php index c50665c..28a7cb9 100644 --- a/src/datasets/array.php +++ b/src/datasets/array.php @@ -38,10 +38,7 @@ class ezcGraphArrayDataSet extends ezcGraphDataSet { foreach ( $data as $key => $value ) { - if ( is_numeric( $value ) ) - { - $this->data[$key] = (float) $value; - } + $this->data[$key] = (float) $value; } } } |