fix gneeric_multi_line and etherlike graphtypes

git-svn-id: http://www.observium.org/svn/observer/trunk@2682 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-12 14:04:27 +00:00
parent 89bebf4f90
commit 180148002c
2 changed files with 2 additions and 1 deletions

View File

@@ -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'";
}

View File

@@ -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");