[rrd-users] legend: getting everything aligned and perky
linux at thehobsons.co.uk
Wed Jul 20 08:57:42 CEST 2011
Ulf Zimmermann wrote:
>You can use \t in the GPRINT to align.
It's been a while now, but from memory it didn't work for me because
... it tabs from the end of the previous element on the line, not to
an absolute position. I think I was trying to align some values where
one line had the colour blob from the legend, and another didn't.
Since the tab runs from the end of the space occupied by the colour
blob, there is no way to align the other line with it at all.
Similarly where some lines don't include all the values that others
do - the tab runs from the end of the previous element, and so you
still end up trying to match the length of a printed field with
It also spread stuff out terribly so that my tables just didn't fit
into the box.
Now if someone has a working example that can do something like this :
* Some label xxx.xx xxx.xx xxx.xx
Another label yyy.yy yyy.yy
and have it all line up then I'd love to see it !
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the rrd-users