diff options
Diffstat (limited to 'type')
-rw-r--r-- | type/Base.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index fe31814..e1aae19 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
@@ -15,7 +15,7 @@ class Type_Base { | |||
15 | var $colors; | 15 | var $colors; |
16 | var $rrd_title; | 16 | var $rrd_title; |
17 | var $rrd_vertical; | 17 | var $rrd_vertical; |
18 | var $rrd_format; | 18 | var $rrd_format = '%5.1lf%s'; |
19 | var $scale = 1; | 19 | var $scale = 1; |
20 | var $width; | 20 | var $width; |
21 | var $height; | 21 | var $height; |
@@ -36,6 +36,7 @@ class Type_Base { | |||
36 | $this->rrdtool_opts = $config['rrdtool_opts']; | 36 | $this->rrdtool_opts = $config['rrdtool_opts']; |
37 | $this->cache = $config['cache']; | 37 | $this->cache = $config['cache']; |
38 | $this->parse_get($_get); | 38 | $this->parse_get($_get); |
39 | $this->rrd_title = $this->args['plugin']; | ||
39 | $this->rrd_files(); | 40 | $this->rrd_files(); |
40 | $this->width = isset($_get['x']) ? $_get['x'] : $config['width']; | 41 | $this->width = isset($_get['x']) ? $_get['x'] : $config['width']; |
41 | $this->height = isset($_get['y']) ? $_get['y'] : $config['height']; | 42 | $this->height = isset($_get['y']) ? $_get['y'] : $config['height']; |