[rrd-users] line wrap for at the legend

Simon Hobson linux at thehobsons.co.uk
Fri Mar 11 19:52:41 CET 2011


Marc wrote:

>I am having a problem to get a line wrap for at the legend of my graph.
>The graph is automatic generated  and I want to have one line for 
>each value of name, min, max and last value.
>Now the tool is writing the legend until the line is full . So it 
>may happen that I have 1,5 Line of legend below my graph. This is 
>looking ridicules.

Have you tried embedding line breaks - add "\n" at the end of an item.
Eg, from one of my scripts :
GPRINT:vdatainavg:\"%6.2lf %sBps\n\"

-- 
Simon Hobson

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