index 3f77a70fa4c1e13fb0ab395ffe578f124b9b617e..b7f44134f1d0094bdbac7a5508d8fd6455bdd062 100644 (file)
-<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rrdgraph_examples</title>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<h2><a name="offsetting_a_line_on_the_yaxis">Offsetting a line on the y-axis</a></h2>
<p>Depending on your needs you can do this in two ways:</p>
<ul>
-<li>
-<p>Offset the data, then graph this</p>
+<li></li>
+Offset the data, then graph this
<pre>
DEF:mydata=my.rrd:ds:AVERAGE</pre>
<p>Note: this will also influence any other command that uses ``data''</p>
<pre>
CDEF:data=mydata,100,+
LINE1:data#FF0000:"Data with offset"</pre>
-</li>
-<li>
-<p>Graph the original data, with an offset</p>
+<p></p>
+<li></li>
+Graph the original data, with an offset
<pre>
DEF:mydata=my.rrd:ds:AVERAGE</pre>
<p>Note: no color in the first line so it is not visible</p>
<p>Note: the second line gets stacked on top of the first one</p>
<pre>
LINE1:data#FF0000:"Data with offset":STACK</pre>
-</li>
-</ul>
+<p></p></ul>
<p>
</p>
<h2><a name="drawing_dashed_lines">Drawing dashed lines</a></h2>
<p>Also works for HRULE and VRULE</p>
<ul>
-<li>
-<p>default style: - - - - -
- LINE1:data#FF0000:``dashed line'':dashes</p>
-</li>
-<li>
-<p>more fancy style with offset: - - --- - --- -
- LINE1:data#FF0000:``another dashed line'':dashes=15,5,5,10:dash-offset=10</p>
-</li>
-</ul>
+<li></li>
+default style: - - - - -
+ LINE1:data#FF0000:``dashed line'':dashes
+<p></p>
+<li></li>
+more fancy style with offset: - - --- - --- -
+ LINE1:data#FF0000:``another dashed line'':dashes=15,5,5,10:dash-offset=10
+<p></p></ul>
<p>
</p>
<h2><a name="time_ranges">Time ranges</a></h2>