[rrd-users] Changing line color

Vargas, Miguel mvargas at tnsi.com
Thu Jan 23 21:29:22 MET 2003


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



More information about the rrd-users mailing list