[rrd-users] Re: How to make "transparent" color on RRD chart

Einar Indridason einari at f-prot.com
Thu Oct 6 18:09:07 MEST 2005


On Thu, Oct 06, 2005 at 12:42:02PM +0900, "CHEW?$B!!YEW?$B!!CHOONG" wrote:
> Hi,
> 
> Can anyone teach me how to make "transparent" color on rrd chart, something like this http://img361.imageshack.us/img361/2732/weatherday4hi.png
> 
> I tried to use TICK but failed to make it "fall inside" my values instead of y-axis.

What I have seen, involves in creating a whole lot of CDEFs lines, that
compute a new area that is slightly less than the data you are looking
at.  For example:

....
CDEF:max_in_95=max_in,0.95,*
CDEF:max_in_90=max_in,0.90,*
CDEF:max_in_85=max_in,0.85,*
....
CDEF:max_in_05=max_in,0.05,*


...
AREA:max_in_05#rrggbb
AREA:max_in_10#rrggbb
AREA:max_in_15#rrggbb
...
AREA:max_in_95#rrggbb


And.. here is the trick... you change the "rrggbb" string slightly to
indicate how the color should change.

--
EinarI

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list