Additional Fix - escaped chars for graph legends (#12846)

fix for Toner graph
This commit is contained in:
TheGracens
2021-05-10 10:26:49 +02:00
committed by GitHub
parent 9ae652a15c
commit be54aa3e6d

View File

@@ -54,7 +54,7 @@ foreach (dbFetchRows('SELECT * FROM printer_supplies where device_id = ?', [$dev
$rrd_options .= " LINE2:toner$id#" . $colour['left'] . ":'" . $descr . "'";
$rrd_options .= " GPRINT:toner$id:LAST:'%5.0lf%%'";
$rrd_options .= " GPRINT:toner$id:MIN:'%5.0lf%%'";
$rrd_options .= " GPRINT:toner$id:MAX:%5.0lf%%\l";
$rrd_options .= " GPRINT:toner$id:MAX:%5.0lf%%\\\\l";
$iter++;
}//end foreach