[rrd-users] CDEFs and graduated colors

Allan Houston ahouston at blueyonder.co.uk
Wed Apr 30 14:31:39 MEST 2003

Hi all,
Been trying to get my head round a little problem with RRD. I've set it up
to print some pretty flame graphs using CDEFs - basically by making 255
CDEFs each 1/255th of the data value and stacking them up with a color which
increments from blue to red.

What I was looking to do was come up with a way to have the color get redder
( i.e. hotter ) as the actual value increases. So for example a graph
showing data ranging from 0 - 25% would be a comforting blueish-purple ,
while one getting to 70 odd percent would have a blue base with a "flame"
that gets pretty red at the top of the graph.

The way I see it is that I'm not using the value of the CDEF to properly
reflect to data - I'm simply breaking it up into even parcels and making
them look pretty..

I'd _really_ appreciate a nudge in the right direction :)

Allan Houston
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