[rrd-users] Re: Question regarding LINEs and Areas...

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Jan 11 00:20:39 MET 2000


Neil Calvert wrote:
> 
> What I am looking for is a way to 'layer' these graph plots so I can
> have a thick lower layer overwritten by a thin high layer - this way you
> would see both graph lines at the same time, or near as possible. If
> this is all drivel, maybe some poorly drawn ascii art will clarify :
> 

If you use LINE3 followed by LINE1, this should work as you describe.
Also, you may want to check out STACK.

> The workaround of using the AREA tag for variable 1 is suitable, but I
> just wondered if you could stack colors - could be nice for other uses
> (if you have 4 or 5 lines to chart and you want to arrange them in a
> 'front to back' manner')
> 
There currently is no "3D" effect possible (at least, not without doing
the math yourself).  If you have values for device 1 that are almost
always higher than those for device two, just use AREAs in the correct
order (first device 1, followed by device 2).  Two values which are the
same will just overlap exactly when using AREA twice, you can't see a
little bit of the first drawn AREA.

If you start with an AREA for device 1 followed by STACK for device
two, you end up with the total hight of the graph being the sum of device
1 and 2.

Regards
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list