From: oetiker Date: Wed, 2 Jan 2008 22:11:26 +0000 (+0000) Subject: support for dashed lines in graphs X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=ab6ae7ac6535c3181885ae50ab569fd24e34300e support for dashed lines in graphs git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1262 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a44edcb..5a73394 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -62,6 +62,7 @@ Steve Harris AIX portability Steve Rader (rrd_cgi debugging and LAST) Terminator rAT Tobias Weingartner +Thomas Gutzler dashed lines Tom Crawley (GCC&HP configuration) Travis Brown Tuc diff --git a/NEWS b/NEWS index b1fa64b..32ff16e 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,7 @@ Graphing (Tobi Oetiker) * --full-size-mode to specify the outer border of the image and not just of the graphing canvas (Matthew Chambers) * TEXTALIGN command to alter default text alignment behaviour * C API supports in-memory graphing with rrd_graph_in_memory (Evan Miller) +* draw dashed lines in graphs (Thomas Gutzler) Forecasting (Evan Miller) ----------- diff --git a/doc/rrdgraph_examples.pod b/doc/rrdgraph_examples.pod index 7a6aba4..3530193 100644 --- a/doc/rrdgraph_examples.pod +++ b/doc/rrdgraph_examples.pod @@ -99,6 +99,22 @@ Note: the second line gets stacked on top of the first one =back +=head2 Drawing dashed lines + +Also works for HRULE and VRULE + +=over + +=item * + +default style: - - - - - + LINE1:data#FF0000:"dashed line":DASHED + +=item * + +more fancy style with offset: - - --- - --- - + LINE1:data#FF0000:"another dashed line":DASHED:dashes=15,5,5,10:dash-offset=10 + =head2 Time ranges Last four weeks: --start end-4w --end 00:00 diff --git a/doc/rrdgraph_graph.pod b/doc/rrdgraph_graph.pod index 8aca649..bba5044 100644 --- a/doc/rrdgraph_graph.pod +++ b/doc/rrdgraph_graph.pod @@ -12,11 +12,11 @@ BB<:>IB<:>I BB<:>I -BB<:>I