fix generic v3 multiline graph total (#4388)

This commit is contained in:
crcro
2016-09-09 19:33:48 +03:00
committed by Tony Murray
parent 9db13372ca
commit 6bc67b421e

View File

@@ -96,7 +96,7 @@ foreach ($rrd_list as $rrd) {
$rrd_options .= ' GPRINT:'.$t_defname.$i.'max:MAX:%8.0lf%s GPRINT:'.$t_defname.$i.":AVERAGE:'%8.0lf%s\\n'";
if ($printtotal === 1) {
$rrd_options .= ' GPRINT:tot'.$rrd['ds'].$i.":%6.2lf%s'".rrdtool_escape($total_units)."'";
$rrd_options .= ' GPRINT:tot'.$rrd['ds'].$i.":%8.0lf%s'".rrdtool_escape($total_units)."'";
}
$rrd_options .= " COMMENT:'\\n'";