[rrd-users] Re: RRDTool:OO question

Alex van den Bogaerdt alex at ergens.op.het.net
Sun Apr 30 05:01:23 MEST 2006


On Sat, Apr 29, 2006 at 07:00:45PM -0700, William Yardley wrote:

> > I'm not sure if tabs are supposed/guarantied to work.
> 
>  From TFM:
> 
[snip]

OK, they should.

> > > If I put in a comment with a single space, RRDTool seems to put in
> > > more than one space.  Is there an easy way to embed a single space?
> > > And shouldn't I not have to worry about the single space since I'm
> > > using tabs?
> 
> > Try without tabs, using only spaces to line up your legend.
> 
> I don't think that's going to work - assuming tabs work as documented,
> that should do a lot better job at dealing with situations where there
> are differing number of characters in the strings....
>  
> for example:
> 
>      * Max1: 11.56      * Ave1: 5.81
>      * Max2: 6.43      * Ave2: 4.51

That's why I always use "%6.2lf%s" (or %7.2lf%s if things can go negative).

HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

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