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:[EMAIL PROTECTED] Sent: Thursday, January 23, 2003 9:29 PM To: [email protected] 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
