aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--type/GenericIO.class.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/type/GenericIO.class.php b/type/GenericIO.class.php
index 3a29948..b22b6d0 100644
--- a/type/GenericIO.class.php
+++ b/type/GenericIO.class.php
@@ -51,12 +51,14 @@ class Type_GenericIO extends Type_Base {
51 $i++; 51 $i++;
52 } 52 }
53 53
54 $rrdgraph[] = sprintf('AREA:overlap#%s', 54 if (!$this->negative_io) {
55 $this->get_faded_color( 55 $rrdgraph[] = sprintf('AREA:overlap#%s',
56 $this->get_faded_color($this->colors[$sources[0]]), 56 $this->get_faded_color(
57 $this->get_faded_color($this->colors[$sources[1]]) 57 $this->get_faded_color($this->colors[$sources[0]]),
58 ) 58 $this->get_faded_color($this->colors[$sources[1]])
59 ); 59 )
60 );
61 }
60 62
61 $i = 0; 63 $i = 0;
62 foreach($sources as $source) { 64 foreach($sources as $source) {