[rrd-users] graph string formatting

Ricardo Kleemann ricardo at americasnet.com
Sat Sep 11 18:18:52 CEST 2010


I am using the typical printf formatting for printing out values,
like %5.2lf

GPRINT:input:LAST:"Current\\: %5.2lf %s "

And this is using the standard fixed width font.

However it is not properly spacing the text so everything lines up.
When I have a value NNN.NN and NN.NN they are not lining up. Shouldn't
the %5.2lf ensure that the numbers are properly spaced and


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100911/62820cd3/attachment.htm 

More information about the rrd-users mailing list