[rrd-users] Re: How to make "transparent" color on RRD chart
John Barber
jbarber at ingham.org
Thu Oct 6 17:18:11 MEST 2005
this should give you an idea, it doesn't look as clean but it shows how to do it:
***********************************
<RRD::GRAPH pngname.png
--color SHADEA#00000000 --color SHADEB#00000000
DEF:DS=rrdname.rrd:DS:AVERAGE
CDEF:temp=DS,16,/
AREA:temp#FF000000
AREA:temp#FF000011::STACK
AREA:temp#FF000022::STACK
AREA:temp#FF000033::STACK
AREA:temp#FF000044::STACK
AREA:temp#FF000055::STACK
AREA:temp#FF000066::STACK
AREA:temp#FF000077::STACK
AREA:temp#FF000088::STACK
AREA:temp#FF000099::STACK
AREA:temp#FF0000AA::STACK
AREA:temp#FF0000BB::STACK
AREA:temp#FF0000CC::STACK
AREA:temp#FF0000DD::STACK
AREA:temp#FF0000EE::STACK
AREA:temp#FF0000FF::STACK
LINE2:temp#FF0000:Temperature
GPRINT:DS:MIN:"Min\: "%2.1lf
GPRINT:DS:AVERAGE:"Av\: "%2.1lf
GPRINT:DS:MAX:"Max\: "%2.1lf\c>
**********************************************
>>> Christopher Bergeron <christopher at bergeron.com> 10/6/2005 12:42:02 AM >>>
I didn't know RRD could even do graphs like that...!
Kind regards,
CB
CHEW*YEW*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.
>
>Thanks in advance.
>
>YC
>
>
>
>--
>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
>
>
>
>
--
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
--
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