On Fri, Nov 18, 2005 at 02:52:13PM +0100, Simone Morandini wrote:

> is there a way to display a dotted line on a graph? I have to display an
> estimated value, so I thought a dotted line would be better...

Sure.

Take one of the CDEF examples, adapt it to your needs.

You want an intermittent on/off pattern, so you need to find
a CDEF that alternates between UNKN and your value.

The necessary CDEF will depend on the amount of time in your
graph.  For instance: if the graph displays 400 hours, you could
display that value for each odd hour and NaN for each even hour.

something like (untested!):
CDEF:dotted=TIME,3600,/,2,%,value,UNKN,IF

-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to