[rrd-users] Re: Question about alignment

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed May 30 14:06:19 MEST 2001


"Spit, J (Jasper)" wrote:

> I have a question about alignment of the legend. I want the following
> to be printed underneath the graph :
> 
> [COLOR1] Item1      Cur:      1	Avg:	1	Max:	1
> [COLOR2] Itemitem2	Cur:	1	Avg:	1	Max:	1
> 
> Alignment of the cur/avg/max values goes fine, but I want to be able
> to align the graph items in the legend as well, as they do not all have
> the same length. Is there a way to do this ?

This should work:
    LINE1:vname1#color1:"Item1    "
    LINE1:vname2#color2:"Itemitem2"
Make sure that the spaces after Item1 are seen by rrdtool, you may need
to do some extra quoting in your scripting language.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list