Re: patch to do vertical gradients

Rian Shelley <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
deja vu...

> I will be glad to include your patch in trunk, if you provide a patch for the
> documentation as well ...
>
> cheers
> tobi

-- 
Rian Shelley
Network Team
Information Technology
Utah State University
(435) 797-2450

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
grad_doc.patch (text/x-patch, 1.1 KB)
diff -crB rrdtool-1.3.8/doc/rrdgraph_graph.pod ../rrdtool-1.3.8/doc/rrdgraph_graph.pod
*** rrdtool-1.3.8/doc/rrdgraph_graph.pod	Sat Feb 21 02:43:58 2009
--- ../rrdtool-1.3.8/doc/rrdgraph_graph.pod	Thu Nov  5 12:23:08 2009
***************
*** 262,267 ****
--- 262,275 ----
  See B<LINE>, however the area between the x-axis and the line will
  be filled.
  
+ =head3 B<GRAD>B<:>I<value>[B<#>I<color1>[B<#>I<color2>B<:>I<height>][B<:>[I<legend>][B<:STACK>]]
+ 
+ Similar to B<AREA>, except the area between the line and the x-axis will contain a gradient from color1 to color2.
+ 
+ The I<height> parameter can create three different behaviors. If I<height> > 0, then the gradient is a fixed height, starting at the line going down. If I<height> < 0, then the gradient starts at fixed height above the x-axis, going down to the x-axis. If I<height> == 0, then the gradient goes from the line to x-axis. 
+ 
+ If not present, I<color2> defaults to #00000000 and I<height> defaults to 50.
+ 
  =head3 B<TICK>B<:>I<vname>B<#>I<rrggbb>[I<aa>][B<:>I<fraction>[B<:>I<legend>]]
  
  Plot a tick mark (a vertical line) for each value of I<vname> that is
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.