From 96c9a9ad601390ada027bf5e6d11e072eda2fc21 Mon Sep 17 00:00:00 2001 From: David Bell Date: Mon, 7 Mar 2016 21:45:56 +0000 Subject: [PATCH] Update generic_multi_seperated.inc.php This fixes the syntax of the area statement. Was previously producing AREA:outbits1_neg#c0a060:STACK Should be producing AREA:outbits1_neg#c0a060::STACK (Blank legend item) --- html/includes/graphs/generic_multi_seperated.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/graphs/generic_multi_seperated.inc.php b/html/includes/graphs/generic_multi_seperated.inc.php index e45752d405..7bbb651c23 100644 --- a/html/includes/graphs/generic_multi_seperated.inc.php +++ b/html/includes/graphs/generic_multi_seperated.inc.php @@ -84,7 +84,7 @@ foreach ($rrd_list as $rrd) { } $rrd_options .= " COMMENT:'\\n'"; - $rrd_optionsb .= ' AREA:outbits'.$i.'_neg#'.$colour_out."$stack"; + $rrd_optionsb .= ' AREA:outbits'.$i.'_neg#'.$colour_out.":$stack"; $rrd_options .= ' HRULE:999999999999999#'.$colour_out.":'".str_pad('', 10)."Out'"; $rrd_options .= ' GPRINT:outbits'.$i.':LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits'.$i.':AVERAGE:%6.2lf%s';