[rrd-users] Re: Legend / font alignment problem

John Barber jbarber at ingham.org
Wed Nov 16 23:12:57 MET 2005


I had a similar problem the way I got around it was to add a blank
comment after every section and putting the /t after the comment.

example:

      
      LINE3:CDEF_name1#FF0000:"IN\:" COMMENT:" \t"
      GPRINT:CDEF_name1:LAST:%3.2lf%s\g COMMENT:" \t"
      GPRINT:CDEF_name1:AVERAGE:%3.2lf%s\g COMMENT:" \t"
      GPRINT:CDEF_name1:MAX:%3.2lf%s\g COMMENT:" \n"
      LINE3:CDEF_name2#0000FF:"OUT\:" COMMENT:" \t"
      GPRINT:CDEF_name2:LAST:%3.2lf%s\g COMMENT:" \t"
      GPRINT:CDEF_name2:AVERAGE:%3.2lf%s\g COMMENT:" \t"
      GPRINT:CDEF_name2:MAX:%3.2lf%s\g COMMENT:" \n"


I'm not positive on the syntax I just did this from memory, but you get
the idea I hope.





>>> Florent Chauveau <fc at digitrad.com> 11/16/05 2:44 PM >>>

  Next try :-)


  Hello,

  I'm having a problem with rrdtool graphs: the legend is not
"aligned"
anymore, since I upgraded from rrdtool 1.0x to 1.2. You can see the
"bad" result on the URL: http://lists.ee.ethz.ch/p/graph_image.php.png


  The words "current" are not aligned vertically. Maybe this is a
tab-width issue ? How can I fix it ?

  I'm having this problem with Caci & Munin. I tried to change the
default font of rrdtool, using the environment variable
RRD_DEFAULT_FONT, but it does not seem to refered, since the font is
not
changing after graph updates.

  My system is the following:
  o Debian Linux testing
  o rrdtool 1.2.11
  o librrds-perl 1.2.11

  Thanks in advance,

-- 
Florent Chauveau
Digitrad

--
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 

--
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