git-svn-id: http://www.observium.org/svn/observer/trunk@2585 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-26 16:33:13 +00:00
parent 9ca0bb970d
commit 8d24403530
3 changed files with 6 additions and 6 deletions
@@ -2,13 +2,13 @@
include("includes/graphs/common.inc.php");
$descrlen = "18";
$descrlen = "12";
$unitlen = "10";
if($nototal) { $descrlen += "2"; $unitlen += "2";}
if ($nototal) { $descrlen += "2"; $unitlen += "2";}
$unit_text = str_pad(truncate($unit_text,$unitlen),$unitlen);
$rrd_options .= " COMMENT:'$unit_text Cur Max'";
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
$rrd_options .= " COMMENT:'$unit_text Cur Max '";
if (!$nototal) { $rrd_options .= " COMMENT:' Total '"; }
$rrd_options .= " COMMENT:'\\n'";
$colour_iter=0;