[rrd-users] Can this kind of chart be drawn with RRDTool ?
Tobias Oetiker
tobi at oetiker.ch
Sat Feb 20 10:57:01 CET 2010
Hi Jean,
Today Jean-Yves Avenard wrote:
> Silly me; I got the order of the arguments wrong for IF.
>
> I have however found something very weird...
>
> If I do:
> "DEF:tt=dummy.rrd:dummy:AVERAGE",
>
> "CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF",
> "AREA:day1#32348e",
>
> "CDEF:dusk1=tt,POP,TIME,$sunset1,$dusk1,LIMIT,UN,UNKN,INF,IF",
> "AREA:dusk1#2d2d5f",
>
> Then between the first colour and the 2nd colour, there is a big white line...
>
> I have to do:
> "DEF:tt=dummy.rrd:dummy:AVERAGE",
>
> "CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF",
> "AREA:day1#32348e",
>
> "CDEF:dusk1=tt,POP,TIME,$sunset1,187,-,$dusk1,LIMIT,UN,UNKN,INF,IF",
> "AREA:dusk1#2d2d5f",
>
> I must make the two time zone overlap by 187s to remove the white
> line... Any lesser value and the white line shows ...
>
>
> This is with a resolution of 300 (5 minutes)
I guess the cause of the problem is the anti aliasing performed
causing the edge of the area to blend with the background ...
overlapping is certainly a good idea ...
cheers
tobi
> Any ideas why ?
>
> Thank you
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list