Code

cant have TIME on it's own in CDEF
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 10 May 2010 11:56:59 +0000 (11:56 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 10 May 2010 11:56:59 +0000 (11:56 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2079 a5681a0c-68f1-0310-ab6d-d61299d08faa

doc/cdeftutorial.pod

index 1c17046c64c047afcbc5e6dfc4ebc047d1504388..b2016a23c9a1308ced6ca4ecd67803f62c38a15a 100644 (file)
@@ -862,7 +862,7 @@ You may do some complex data filtering:
 
     DEF:var=database.rrd:traffic:AVERAGE
     CDEF:prev1=PREV(var)
-    CDEF:time=TIME
+    CDEF:time=var,POP,TIME
     CDEF:prevtime=PREV(time)
     CDEF:derivate=var,prev1,-,time,prevtime,-,/
     LINE3:derivate#000077:derivate