Added
Link Here
|
1 |
--- html/includes/graphs/generic_multi_bits_separated.inc.php.orig 2016-01-15 08:37:56 UTC |
2 |
+++ html/includes/graphs/generic_multi_bits_separated.inc.php |
3 |
@@ -76,13 +76,13 @@ foreach ($rrd_list as $rrd) |
4 |
$rrd_options .= " VDEF:totout".$i."=outB".$i.",TOTAL"; |
5 |
$rrd_options .= " VDEF:tot".$i."=octets".$i.",TOTAL"; |
6 |
|
7 |
- if ($i) { $stack="STACK"; } |
8 |
+ if ($i) { $stack=":STACK"; } |
9 |
|
10 |
if ($vars['line_graph']) |
11 |
{ |
12 |
$rrd_options .= " LINE1.25:inB".$i."#" . $colour_in . ":'" . $descr . "'"; |
13 |
} else { |
14 |
- $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "':$stack"; |
15 |
+ $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "'$stack"; |
16 |
} |
17 |
$rrd_options .= " GPRINT:inB".$i.":LAST:%6.2lf%s$units"; |
18 |
$rrd_options .= " GPRINT:inB".$i.":AVERAGE:%6.2lf%s$units"; |
19 |
@@ -97,7 +97,7 @@ foreach ($rrd_list as $rrd) |
20 |
$rrd_options .= " 'LINE1.25:outB".$i."_neg#" . $colour_out . ":" . $descr_out . "'"; |
21 |
} else { |
22 |
$rrd_options .= " 'HRULE:0#" . $colour_out.":".$descr_out."'"; |
23 |
- $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . "::$stack'"; |
24 |
+ $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . ":$stack'"; |
25 |
} |
26 |
$rrd_options .= " GPRINT:outB".$i.":LAST:%6.2lf%s$units"; |
27 |
$rrd_options .= " GPRINT:outB".$i.":AVERAGE:%6.2lf%s$units"; |