From f45e1997c5251fc81ef2f9b9b06d157fb8f6385c Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Sat, 4 Aug 2018 16:33:18 -0500 Subject: [PATCH] Line up ping graph legend (#8955) ![image](https://user-images.githubusercontent.com/39462/43288765-7ff46116-90ee-11e8-80ec-a1f37e5027ae.png) DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply `, i.e `./scripts/github-apply 5926` --- html/includes/graphs/device/ping_perf.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/graphs/device/ping_perf.inc.php b/html/includes/graphs/device/ping_perf.inc.php index 45986cb0f9..bff5dc18a9 100644 --- a/html/includes/graphs/device/ping_perf.inc.php +++ b/html/includes/graphs/device/ping_perf.inc.php @@ -19,7 +19,7 @@ require 'includes/graphs/common.inc.php'; $rrd_filename = rrd_name($device['hostname'], 'ping-perf'); $rrd_options .= ' DEF:ping='.$rrd_filename.':ping:AVERAGE'; -$rrd_options .= " 'COMMENT:Milliseconds Cur Min Max Avg\\n'"; +$rrd_options .= " 'COMMENT:Milliseconds Cur Min Max Avg\\n'"; $rrd_options .= ' LINE1.25:ping#36393D:Ping'; -$rrd_options .= ' GPRINT:ping:LAST:%6.2lf GPRINT:ping:AVERAGE:%6.2lf'; +$rrd_options .= ' GPRINT:ping:LAST:%14.2lf GPRINT:ping:AVERAGE:%6.2lf'; $rrd_options .= " GPRINT:ping:MAX:%6.2lf 'GPRINT:ping:AVERAGE:%6.2lf\\n'";