[rrd-developers] patch to do vertical gradients

Tobias Oetiker tobi at oetiker.ch
Thu Nov 5 21:10:35 CET 2009

Hi Rian,

Today Rian Shelley wrote:

> This time i remembered to attach the patch :D
> > thanks for this ... it looks cool ... quersion though, is there
> > some information carying capability in this feature ?
> Not really. For the most part, I wanted to add some control over how
> the AREA's were drawn, especially when you have two of them on the
> same graph that keep covering one another, it makes it easier for the
> eye to pick out the two graphs, as opposed to simply using an alpha,
> which gives a solid color that can be mis-interpreted as another
> graph.
> I also wanted the ability to make it so that peak values could be
> highlighted in a different color if desired, as in a cpu graph going
> from green through yellow to red.
> I haven't thought about making it carry information, although it might
> be neat to show temporal distribution of an average value (ie, turn
> the dataset on its side, and make it represent color instead of
> displacement). I don't really know how to get into that, since all
> I've played with so far is the drawing code.
> >
> > can you please also add a patch for the documentation ?
> Hopefully the attached patch will suffice.

great ... thanks very much

> --
> rian

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900

More information about the rrd-developers mailing list