[rrd-users] Re: Changing line color
Serge Maandag
serge.maandag at staff.zeelandnet.nl
Fri Jan 24 10:43:18 MET 2003
The over line will be drawn exactly on top of the under line, so there
is no need to hide parts of the under line.
Try:
DEF:in=my.rrd:In:AVERAGE
CDEF:over=in,34000,GT,in,UNKN,IF
LINE2:in#00ff00
LINE2:over#ff0000
Serge.
-----Original Message-----
From: Vargas, Miguel [mailto:mvargas at tnsi.com]
Sent: Thursday, January 23, 2003 9:29 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Changing line color
I have figured out from the tutorials and examples how to do changing
colors
based on thresholds on AREA graphs.
Is it possible to do changing colors on LINE? graphs? The AREA trick
doesn't work on line graphs because the lines aren't connected, this is
especially noticeable on low resolution graphs. For example I tried
this
DEF:in=my.rrd:In:AVERAGE
CDEF:under=in,34000,LT,in,UNKN,IF
CDEF:over=in,34000,GT,in,34000,-,UNKN,IF
LINE2:under#00ff00
STACK:over#ff0000
And here is what it looks like: http://miguel.vargas.com/test.png.
Is there a way of doing this?
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list