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:[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