Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[rrd-users] X-axis labels incorrect

1 view
Skip to first unread message

Petteri Matilainen

unread,
Oct 28, 2012, 10:59:28 AM10/28/12
to
Hello,

I'm graphing temperature, see http://koti.welho.com/pmatil/out_day.png.
Look at the x-axis labels. They should be at 2 hour intervals. But after
02:00 the next label is 03:00 and then at 2 hour intervals. What is
happening? The x-axis label is constructed using

-x MINUTE:30:HOUR:1:HOUR:2:0:"%H:%M"

Also in the picture you see the issue I mentioned in my previous
message, the y-axis labels which are for some reason floats, eg. 0.0,
1.0, 2.0 etc. Any ideas? Thanks!

regards,

Petteri

_______________________________________________
rrd-users mailing list
rrd-...@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Tobias Oetiker

unread,
Oct 28, 2012, 11:08:35 AM10/28/12
to


On 28.10.2012, at 15:59, Petteri Matilainen <pma...@gmail.com> wrote:

> Hello,
>
> I'm graphing temperature, see http://koti.welho.com/pmatil/out_day.png.
> Look at the x-axis labels. They should be at 2 hour intervals. But after
> 02:00 the next label is 03:00 and then at 2 hour intervals. What is
> happening? The x-axis label is constructed using
>
> -x MINUTE:30:HOUR:1:HOUR:2:0:"%H:%M"
>
> Also in the picture you see the issue I mentioned in my previous
> message, the y-axis labels which are for some reason floats, eg. 0.0,
> 1.0, 2.0 etc. Any ideas? Thanks!
>


yes tonight, there were 2 hours between 2am and 3am ... at least in the timezone where this chart was generated ... (end of daylight saving time)

cheers tobi

Alex van den Bogaerdt

unread,
Oct 28, 2012, 7:12:45 PM10/28/12
to
> I'm graphing temperature, see http://koti.welho.com/pmatil/out_day.png.
> Look at the x-axis labels. They should be at 2 hour intervals. But after
> 02:00 the next label is 03:00 and then at 2 hour intervals. What is
> happening? The x-axis label is constructed using
>
> -x MINUTE:30:HOUR:1:HOUR:2:0:"%H:%M"

Just in case you need a little more than Tobi already gave you:

http://rrdtool.vandenbogaerdt.nl/summertime.php

That page is already there for some time but is as valid as it was a couple
of years ago.

HTH
Alex
0 new messages