[rrd-users] Graphing min-max ranges

Simon Hobson linux at thehobsons.co.uk
Sun Jul 29 21:20:44 CEST 2007

Gerhard Strangar wrote:

>I've got some RRDs with a min and a max RRA and I'd like to graph these
>ranges. My first attempt war to draw an AREA using the max RRA in color
>and then draw an AREA using the min RRA using white. However, this only
>works for non-negative data.
>I'm thinking about changing from those white AREAs to drawing an
>invisible line and stacking an area calculated from max-min on top of

That will do it.

>  Or is there a way of drawing an area which does not start on the x-axis?

Yes, add something to the data OR stack the plot on something else.

Probably what you want is to define a variable as max-min with a 
cdef, plot min (either as an area or a line), then stck max-min on 
top of it.

More information about the rrd-users mailing list