diff options
Diffstat (limited to 'type/Default.class.php')
-rw-r--r-- | type/Default.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index c9220fa..0250d52 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
@@ -16,7 +16,7 @@ class Type_Default { | |||
16 | var $rrd_title; | 16 | var $rrd_title; |
17 | var $rrd_vertical; | 17 | var $rrd_vertical; |
18 | var $rrd_format; | 18 | var $rrd_format; |
19 | var $scale; | 19 | var $scale = 1; |
20 | var $width; | 20 | var $width; |
21 | var $heigth; | 21 | var $heigth; |
22 | 22 | ||
@@ -37,6 +37,7 @@ class Type_Default { | |||
37 | $this->heigth = GET('y'); | 37 | $this->heigth = GET('y'); |
38 | if (empty($this->heigth)) $this->heigth = $config['heigth']; | 38 | if (empty($this->heigth)) $this->heigth = $config['heigth']; |
39 | $this->graph_type = $config['graph_type']; | 39 | $this->graph_type = $config['graph_type']; |
40 | $this->negative_io = $config['negative_io']; | ||
40 | } | 41 | } |
41 | 42 | ||
42 | function rainbow_colors() { | 43 | function rainbow_colors() { |