diff options
author | Pim van den Berg | 2013-05-18 17:38:07 +0200 |
---|---|---|
committer | Pim van den Berg | 2013-05-18 17:38:07 +0200 |
commit | 28ec285069b9b3d4782be6a9e064556ba15b0391 (patch) | |
tree | d0991fec5096f813a2a4e57c95ef4b503ab99e8a /type/Default.class.php | |
parent | .htaccess: enable gzip on rrd files (diff) | |
download | apt-panopticon_cgp-28ec285069b9b3d4782be6a9e064556ba15b0391.zip apt-panopticon_cgp-28ec285069b9b3d4782be6a9e064556ba15b0391.tar.gz apt-panopticon_cgp-28ec285069b9b3d4782be6a9e064556ba15b0391.tar.bz2 apt-panopticon_cgp-28ec285069b9b3d4782be6a9e064556ba15b0391.tar.xz |
add support for graphing I/O using the negative X-axis
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() { |