[rrd-users] RRD Legend formatting problem

Munroe Sollog mus3 at Lehigh.EDU
Fri Sep 6 01:49:09 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Below is my RRDgraph code and a link to what the legend looks like.  If the problem isn't clear, I
want to use 'LAST' and 'MAX' as columns so that the auth and guest numbers print out below the
headers.


http://imagebin.org/269998


RRDs::graph "$graphfile48",
    "--title", "APstats",
    "--start", "now-48h",
    "--width=600",
    "--height=300",
    "--full-size-mode",
    "--slope-mode",
    "--vertical-label=Active Users",
    "DEF:a=$rrdfile:auth:LAST",
    "DEF:g=$rrdfile:guest:LAST",
    "DEF:aa=$rrdfile:auth:MAX",
    "DEF:gg=$rrdfile:guest:MAX",
    "COMMENT:        ",
    "COMMENT:LAST    ",
    "COMMENT:MAX     \l",
    "AREA:a#00C000:auth",
    "GPRINT:a:LAST:%2.0lf %S",
    "GPRINT:aa:MAX:%2.0lf %S\l",
    "AREA:g#00C0FF:guest:STACK",
    "GPRINT:g:LAST:%2.0lf %S",
    "GPRINT:gg:MAX:%2.0lf %S\l",
    ;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJSKRhzAAoJEPbbZiWCKDVCYW8H/RqyqigDp4IinAZAP9eySPSH
dYjZHU8aEvBtoRpzj9O1c9QffvItq+By+OapUbxzadb0YPvlBaAr/GxbzSMYdeAB
0SQKdhd208kpHFGAqKW+0u04gmijhf06vlU4n8KmAgXoPvIRMnpzMpRmyBxbfMne
Mx/ompuTRkAj7HwmPt/pB9wF4YmG/tMVnfOco9I99a41zy9MWLJeQ0cHRStWyaHy
C2BFrQFDfTvVHsyENDdPK4ATBrZfXNvMDOubPKNR8ps5qfQIOQg9dT57TN0+Mdjp
/inuxSNMl47VwQqHzqQrTqPfCK2wgQq27HyerjQG/245rNQnXBt8w+xK0Cd3E2c=
=qSzT
-----END PGP SIGNATURE-----



More information about the rrd-users mailing list