[rrd-users] x-axis labelling

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Nov 17 11:55:21 CET 2007


On Sat, Nov 17, 2007 at 12:45:03PM +0200, Petteri Matilainen wrote:

> I also tried -x DAY:1:WEEK:1:WEEK:1:0:"Week %V" which should give labels
> each week but the text 'Week 45' is right under the major grid line and so
> on (should be centered on a week interval). I'm confused about the LPR
> definition. Seconds? I tried to input how many seconds are there in a week
> -> no change. Thanks in advance.

cut'n'paste from some scripts:

        xgrid="DAY:1:WEEK:1:WEEK:2:$((7*86400)):Wk %V"
        xgrid="MONTH:1:MONTH:1:MONTH:1:$((30*86400)):%b"

maybe you were looking at old graphs?

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



More information about the rrd-users mailing list