[rrd-users] Formating legend problem
Alex van den Bogaerdt
alex at ergens.op.het.net
Tue Jan 30 15:55:14 CET 2007
On Tue, Jan 30, 2007 at 02:31:56PM +0000, Valentinos Charalambous wrote:
> "AREA:$top[0]#000000::$top[0] "
How many characters are there in $top[0] ?
Answer: you don't know.
How many characters are there in $top[0] followed by 5 spaces ?
Answer: you still don't know.
What you want is ( $top[0] + 5 spaces ) to have a fixed width.
> Can i make any changes to the above and fix the problem or i should change
> it completely?
I suggested using printf. What is the problem ?
More information about the rrd-users
mailing list