[rrd-users] Re: Graph color question

Jason Russell jason at 6speed.org
Thu Feb 6 18:58:25 MET 2003




On Thu, 6 Feb 2003, Glenn MacGregor wrote:

> Hi All,
>
> I have a quick question about graphing.  I have a area graph that goes from 0 to 100, the area is green in color.  Is it possible to have an upside down area (starting at 100 and going down) which is red.  So when the value of the green color data is less than 100 you see that value in a red area.
>
> If the value is 100 you see no red if the value is 60 you see 40 red, 0-60 is green area, 60-100 is a red area.
>

You can make a CDEF with a value of 100 and make it a red area in the
graph, then make an area with your data in green. As long as you use AREA
in both cases they should overlay and you get the effect you want.

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list