I had a hard time figuring this out myself. Alex's answer to this question is hidden deep withing the archives here: http://www.ee.ethz.ch/~slist/rrd-users/msg04663.html
He's changing the background, instead of another datasource, but the concept is the same (replace INF, with a DEF to the other datasource). like so: DEF:def1=/path/to/rrdfile.rrd:ds1:AVERAGE DEF:def2=/path/to/rrdfile.rrd:ds2:AVERAGE CDEF:color1=def1,10,GE,def2,UNKN,IF CDEF:color2=def1,20,GE,def2,UNKN,IF and keep adding CDEFs for each level. Hope this helps (these graphs look cool) Aaron Spiegel Quoting Jeffrey Wheat <[EMAIL PROTECTED]>: > > Hello everyone, > > I am wondering if anyone has a recipe for creating graphs with > gradiating colors in PHP4, very similar to the example seen at > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/gallery/aragon-01.html > > I've looked around but haven't found or figured out a way to do this > yet. If anyone can point me in the right direction, I would be very > thankful. > Please reply to me directly as I am not on the list presently. I will post > anything usual that is sent to me. > > Very many thanks! > Jeffrey > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.393 / Virus Database: 223 - Release Date: 9/30/2002 > > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Help mailto:[EMAIL PROTECTED] > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
