X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=blobdiff_plain;f=doc%2Frrdgraph_examples.html;h=5dbf576693c410424051d5c6d0a8d81a188f2ee8;hp=b7f44134f1d0094bdbac7a5508d8fd6455bdd062;hb=645054bac6187b0e83fd4125fd59e4feda216b64;hpb=ffa00ac697dccce18dca8880ca7a14066521ac5c diff --git a/doc/rrdgraph_examples.html b/doc/rrdgraph_examples.html index b7f4413..5dbf576 100644 --- a/doc/rrdgraph_examples.html +++ b/doc/rrdgraph_examples.html @@ -1,14 +1,18 @@ +
@@ -111,20 +119,20 @@ ready because comments are intermixed with the examples.
GPRINT:ds1pct:"%6.2lf %Sbps\l"-
Depending on your needs you can do this in two ways:
Offset the data, then graph this
DEF:mydata=my.rrd:ds:AVERAGE-
Note: this will also influence any other command that uses ``data''
+Note: this will also influence any other command that uses "data"
CDEF:data=mydata,100,+ LINE1:data#FF0000:"Data with offset"- -
Graph the original data, with an offset
DEF:mydata=my.rrd:ds:AVERAGE
Note: no color in the first line so it is not visible
@@ -133,20 +141,22 @@ Graph the original data, with an offsetNote: the second line gets stacked on top of the first one
LINE1:data#FF0000:"Data with offset":STACK-
Also works for HRULE and VRULE
default style: - - - - - + LINE1:data#FF0000:"dashed line":dashes
+more fancy style with offset: - - --- - --- - + LINE1:data#FF0000:"another dashed line":dashes=15,5,5,10:dash-offset=10
+