From 180148002cca98f128d13f5511c4c0d24e85253b Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 12 Oct 2011 14:04:27 +0000 Subject: [PATCH] fix gneeric_multi_line and etherlike graphtypes git-svn-id: http://www.observium.org/svn/observer/trunk@2682 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/generic_multi_line.inc.php | 2 +- html/includes/graphs/port/etherlike.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/includes/graphs/generic_multi_line.inc.php b/html/includes/graphs/generic_multi_line.inc.php index 6d401d3b1f..45832bdf34 100644 --- a/html/includes/graphs/generic_multi_line.inc.php +++ b/html/includes/graphs/generic_multi_line.inc.php @@ -19,7 +19,7 @@ if($width > "500") if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; } $rrd_options .= " COMMENT:'\l'"; } else { - $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." Now Ave Max\l'"; + $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."Now Ave Max Avg\l'"; } diff --git a/html/includes/graphs/port/etherlike.inc.php b/html/includes/graphs/port/etherlike.inc.php index 24af455b56..9566a89829 100644 --- a/html/includes/graphs/port/etherlike.inc.php +++ b/html/includes/graphs/port/etherlike.inc.php @@ -27,6 +27,7 @@ if (is_file($rrd_filename)) $colours = "mixed"; $nototal = 1; $unit_text = "Errors"; +$simple_rrd = 1; include("includes/graphs/generic_multi_simplex_seperated.inc.php");