aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Default.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--type/Default.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/type/Default.class.php b/type/Default.class.php
index 8704d06..5e19e73 100644
--- a/type/Default.class.php
+++ b/type/Default.class.php
@@ -18,7 +18,7 @@ class Type_Default {
18 var $rrd_format; 18 var $rrd_format;
19 var $scale = 1; 19 var $scale = 1;
20 var $width; 20 var $width;
21 var $heigth; 21 var $height;
22 var $graph_type; 22 var $graph_type;
23 var $negative_io; 23 var $negative_io;
24 var $graph_smooth; 24 var $graph_smooth;
@@ -37,8 +37,8 @@ class Type_Default {
37 $this->identifiers = $this->file2identifier($this->files); 37 $this->identifiers = $this->file2identifier($this->files);
38 $this->width = GET('x'); 38 $this->width = GET('x');
39 if (empty($this->width)) $this->width = $config['width']; 39 if (empty($this->width)) $this->width = $config['width'];
40 $this->heigth = GET('y'); 40 $this->height = GET('y');
41 if (empty($this->heigth)) $this->heigth = $config['heigth']; 41 if (empty($this->height)) $this->height = $config['height'];
42 $this->graph_type = $config['graph_type']; 42 $this->graph_type = $config['graph_type'];
43 $this->negative_io = $config['negative_io']; 43 $this->negative_io = $config['negative_io'];
44 $this->graph_smooth = $config['graph_smooth']; 44 $this->graph_smooth = $config['graph_smooth'];
@@ -227,7 +227,7 @@ class Type_Default {
227 if ($this->graph_smooth) 227 if ($this->graph_smooth)
228 $rrdgraph[] = '-E'; 228 $rrdgraph[] = '-E';
229 $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400); 229 $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400);
230 $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); 230 $rrdgraph[] = sprintf('-h %d', is_numeric($this->height) ? $this->height : 175);
231 $rrdgraph[] = '-l 0'; 231 $rrdgraph[] = '-l 0';
232 $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); 232 $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']);
233 if ($this->rrd_vertical) 233 if ($this->rrd_vertical)