[Git][NTPsec/ntpsec][master] ntpviz: When Peer Offsets has more than 6 peers, place key below graph.

Gary E. Miller gitlab at mg.gitlab.com
Sat Apr 22 02:48:13 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
223dac94 by Gary E. Miller at 2017-04-21T19:46:57-07:00
ntpviz: When Peer Offsets has more than 6 peers, place key below graph.

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -1039,6 +1039,9 @@ at 0s.</p>
 
         if 6 >= len(peerlist):
             out['set_key'] = "set key top right"
+        elif 12 >= len(peerlist):
+            # getting crowded
+            out['set_key'] = "set key bmargin"
         else:
             # too many keys to show
             out['set_key'] = "set key off"



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/223dac94b3526d98d252d4a9249ed4b151c0dc1a

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/223dac94b3526d98d252d4a9249ed4b151c0dc1a
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170422/f4223245/attachment.html>


More information about the vc mailing list