Ok, i found a sample and modified it a bit.
CDEF:wdtest=in,POP,TIME,3600,/," & strTimezone & ",+,DUP,24,/,7,%,DUP,4,LT,EXC,2,GE,+,2,LT,EXC,24,%,DUP," & strWDstart & ",GE,EXC," & strWDend & ",LT,+,2,EQ,1,0,IF,0,IF CDEF:wd=wdtest,INF,0,IF AREA:wd" & strWDcolor This is working fine except that the graph doesn't autoscale anymore as soon as i add above to the graph command. Any idea how to solve this? Thanks in advance eric -----Original Message----- From: Alex van den Bogaerdt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 January, 2004 17:47 To: RRDTOOL (E-mail) Subject: [rrd-users] Re: Color working hours On Wed, Jan 28, 2004 at 04:49:01PM +0100, Van den Bossche Eric wrote: > can someone show me how to give the background of a graph another color > during the working hours (let's say from 8am till 6pm) ? Please see the CDEF tutorial, the examples in there should help you a lot. HTH Alex -- begin sig http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1 This message was produced without any <iframe tags -- 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
