Revert "Fix escaped chars for graphs legends (#12841)" (#12874)

This reverts commit 9ae652a15c.
This commit is contained in:
Tony Murray
2021-05-13 13:13:10 -05:00
committed by GitHub
parent 77a17dac88
commit 730ea3b008
54 changed files with 100 additions and 100 deletions

View File

@@ -30,7 +30,7 @@ $rrd_options .= ' AREA:perc#' . $background['right'] . ':';
$rrd_options .= ' LINE1.25:perc#' . $background['left'] . ":'$descr'";
$rrd_options .= ' GPRINT:size:LAST:%6.2lf%sB';
$rrd_options .= ' GPRINT:free:LAST:%6.2lf%sB';
$rrd_options .= ' GPRINT:perc:LAST:%5.2lf%%\\\\n';
$rrd_options .= ' GPRINT:perc:LAST:%5.2lf%%\\n';
if ($_GET['previous']) {
$descr = \LibreNMS\Data\Store\Rrd::fixedSafeDescr('Prev ' . $storage['storage_descr'], 16);
@@ -48,5 +48,5 @@ if ($_GET['previous']) {
$rrd_options .= ' LINE1.25:percX#' . $colour . ":'$descr'";
$rrd_options .= ' GPRINT:sizeX:LAST:%6.2lf%sB';
$rrd_options .= ' GPRINT:freeX:LAST:%6.2lf%sB';
$rrd_options .= ' GPRINT:percX:LAST:%5.2lf%%\\\\n';
$rrd_options .= ' GPRINT:percX:LAST:%5.2lf%%\\n';
}