[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    [rrd-users] Re: X axis labels
From:       alex () ergens ! op ! het ! net (Alex van den Bogaerdt)
Date:       2006-06-26 22:59:05
Message-ID: 20060626225905.GF14358 () ergens ! op ! het ! net
[Download RAW message or body]

On Mon, Jun 26, 2006 at 10:52:55AM -0500, Pavleck, Jeremy D. wrote:

> Is there a way to change the X axis labels? Currently I'm running
> reports, and instead of "Week 14, 15, 16, 17" etc they would like to see
> "Week 1", "Week 2", "Week 3" on the X axis, since this is a 1 month
> snapshot I've created.

These are "week of the year" numbers, not arbitrary numbers.

Can you show "Week 1" ?  Sure.  If you're going to pretend the data
is from a certain time, do so when you input it.  So, if you want to
pretend data is in week 1, you have to make sure the timestamp is in
week 1 when you do "rrdtool update".

When you compute the amount of seconds to subtract from timestamps,
make sure to get it right; januari 1st of this year was in week 52
if you use %V and in week 1 when using %U.

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

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic