]> git.itanic.dy.fi Git - rrdd/commitdiff
Change default memory graph colors
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Oct 2009 17:11:20 +0000 (20:11 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Oct 2009 17:13:17 +0000 (20:13 +0300)
Swap is better to be in red, as red is "bad". Thus, buffers and swap
colors are now reversed.

testdata.h.example

index c06db40a9ec09e79526d248cd8030150ad87927a..5eab843eef38af4a4840b8bd7a4d53f435cf6fee 100644 (file)
@@ -79,7 +79,7 @@ const char *memtext[] = {
        "COMMENT:                     "
        "MIN          MAX         AVG        Last\\n",
        blank,
-       "AREA:bu#ff0000:Buffers    ",
+       "AREA:bu#ffff00:Buffers    ",
        "GPRINT:bu:MIN:" numfmt,
        "GPRINT:bu:MAX:" numfmt,
        "GPRINT:bu:AVERAGE:" numfmt,
@@ -115,7 +115,7 @@ const char *memtext[] = {
        "GPRINT:ta:AVERAGE:" numfmt,
        "GPRINT:ta:LAST:" numfmt "\\n",
        blank,
-       "STACK:sw#ffff00:Swap       ",
+       "STACK:sw#ff0000:Swap       ",
        "GPRINT:sw:MIN:" numfmt,
        "GPRINT:sw:MAX:" numfmt,
        "GPRINT:sw:AVERAGE:" numfmt,