[rrd-users] Graph: Daily / Weekly / Montly timerange marker

Simon Hobson linux at thehobsons.co.uk
Mon Apr 18 12:21:05 CEST 2011


Janos wrote:

>How can I draw Daily / Weekly / Montly timerange marker?
>
>For example I want show a black vertical line (from top to bottom) in graph
>in Daily graph at 00:00:00 (midnight) and at weekly graph in Monday 00:00:00
>and at monthly graph at first day.

You'll need to do some calculations (to get the right time value) in 
your script that calculates the parameters for the graph, but a VRULE 
should do it.
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html
-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the rrd-users mailing list