[rrd-users] Re: Dates on graphs

John Barber johnebarber at gmail.com
Wed Feb 1 13:59:47 MET 2006


There is no way to put it above it (as far as I know), but next to or
instead of yes.
Weekly

instead of would be:
--x-grid DAY:1:DAY:1:DAY:1:86400:%m/%d

next to would be:
--x-grid DAY:1:DAY:1:DAY:1:86400:%a %m/%d


Monthly

I don't think you can do anything like date1 - date2, you can put the date
the week started:
--x-grid DAY:1:WEEK:1:WEEK:1:0:%x

or the date at the center of the week:
--x-grid DAY:1:WEEK:1:WEEK:1:604800:%x


And depending on what your writing in you may need to change things a bit,
like to escape the %'s or something.
Also note that setting up the grid yourself like this rather than letting
rrdtool do it itself can cause many headaches, just a warning.

Oh, and this is all in the docs:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdgraph.en.html
and
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdgraph_graph.en.html



On 1/31/06, js <forums at emat.be> wrote:
>
> Hi list,
>
> Is there a way when generating
>
>    * weekly graphs
>      To get the date of each day above the name of the day
>
>    * monthly graphs
>      To get a date like 16/01/2006-22/01/2006 above the name of the
>      week (week 3, week 2 ,.......)
>
>
> The name of the days and weeknumbers are handy but I see a lot of people
> looking at their calenders to check the exact dates,....
>
> Thanks in advance!
>
> Jelle
>
> --
> 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
>
>

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



More information about the rrd-users mailing list