[rrd-users] Trying to format legend using GPRINT

Nataniel Klug nata at cnett.psi.br
Mon Jul 17 15:42:44 MEST 2006

   Hello all,

   I am starting to use RRD and I am getting a serius difficult in 
making my legend goes pretty in screen...

   I wanna that my GPRINT legend goes into the same colum so I make this 
script (I am using rrdcgi):

               <RRD::GRAPH backbone_trafego_diario.png
                       --title="consumo de banda backbone (diario)"
                       --font DEFAULT:8:

                       'GPRINT:backbone_in_bps:MAX:max\:   %4.2lf%sbps'
                       'GPRINT:backbone_in_bps:AVERAGE:med\: %4.2lf%sbps'
                       'GPRINT:backbone_in_bps:LAST:atu\:  %4.2lf%sbps\n'
                       LINE1:backbone_out_bps#1598C3:"upload  "
                       'GPRINT:backbone_out_bps:MAX:max\: %4.2lf%sbps'
                       'GPRINT:backbone_out_bps:AVERAGE:med\: %4.2lf%sbps'
                       'GPRINT:backbone_out_bps:LAST:atu\:  %4.2lf%sbps'

   For now this is working fine BUT I have a legend that is Mega and all 
others are kilo... When this "Mega" legend comes to kilo the legend will 
be all wrong formating. You can see the graph in this adress:


   If anyone can tell me where to find info about how-to format legends 
so they stay cool I would love to read...


Nataniel Klug .'.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list