Code

time on it's own does not work
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 10 May 2010 11:54:57 +0000 (11:54 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 10 May 2010 11:54:57 +0000 (11:54 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2078 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