From 28ec285069b9b3d4782be6a9e064556ba15b0391 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 18 May 2013 17:38:07 +0200 Subject: add support for graphing I/O using the negative X-axis --- type/Default.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'type/Default.class.php') 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 { var $rrd_title; var $rrd_vertical; var $rrd_format; - var $scale; + var $scale = 1; var $width; var $heigth; @@ -37,6 +37,7 @@ class Type_Default { $this->heigth = GET('y'); if (empty($this->heigth)) $this->heigth = $config['heigth']; $this->graph_type = $config['graph_type']; + $this->negative_io = $config['negative_io']; } function rainbow_colors() { -- cgit v1.1