Code

Imported upstream SVN snapshot 1.4~rc2+20090928.
[pkg-rrdtool.git] / doc / rrdgraph_examples.html
index b7f44134f1d0094bdbac7a5508d8fd6455bdd062..5dbf576693c410424051d5c6d0a8d81a188f2ee8 100644 (file)
@@ -1,14 +1,18 @@
+<?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>
 
 <body style="background-color: white">
 
-<p><a name="__index__"></a></p>
+
 <!-- INDEX BEGIN -->
+<div name="index">
+<p><a name="__index__"></a></p>
 <!--
 
 <ul>
@@ -21,7 +25,7 @@
 
                <li><a href="#data_with_multiple_resolutions">Data with multiple resolutions</a></li>
                <li><a href="#nicely_formatted_legend_section">Nicely formatted legend section</a></li>
-               <li><a href="#offsetting_a_line_on_the_yaxis">Offsetting a line on the y-axis</a></li>
+               <li><a href="#offsetting_a_line_on_the_y_axis">Offsetting a line on the y-axis</a></li>
                <li><a href="#drawing_dashed_lines">Drawing dashed lines</a></li>
                <li><a href="#time_ranges">Time ranges</a></li>
                <li><a href="#viewing_the_current_and_previous_week_together">Viewing the current and previous week together</a></li>
        <li><a href="#see_also">SEE ALSO</a></li>
        <li><a href="#author">AUTHOR</a></li>
 </ul>
+
 -->
+
+
+</div>
 <!-- INDEX END -->
 
 <p>
@@ -111,20 +119,20 @@ ready because comments are intermixed with the examples.</p>
     GPRINT:ds1pct:&quot;%6.2lf %Sbps\l&quot;</pre>
 <p>
 </p>
-<h2><a name="offsetting_a_line_on_the_yaxis">Offsetting a line on the y-axis</a></h2>
+<h2><a name="offsetting_a_line_on_the_y_axis">Offsetting a line on the y-axis</a></h2>
 <p>Depending on your needs you can do this in two ways:</p>
 <ul>
-<li></li>
-Offset the data, then graph this
+<li>
+<p>Offset the data, then graph this</p>
 <pre>
     DEF:mydata=my.rrd:ds:AVERAGE</pre>
-<p>Note: this will also influence any other command that uses ``data''</p>
+<p>Note: this will also influence any other command that uses &quot;data&quot;</p>
 <pre>
     CDEF:data=mydata,100,+
     LINE1:data#FF0000:&quot;Data with offset&quot;</pre>
-<p></p>
-<li></li>
-Graph the original data, with an offset
+</li>
+<li>
+<p>Graph the original data, with an offset</p>
 <pre>
     DEF:mydata=my.rrd:ds:AVERAGE</pre>
 <p>Note: no color in the first line so it is not visible</p>
@@ -133,20 +141,22 @@ Graph the original data, with an offset
 <p>Note: the second line gets stacked on top of the first one</p>
 <pre>
     LINE1:data#FF0000:&quot;Data with offset&quot;:STACK</pre>
-<p></p></ul>
+</li>
+</ul>
 <p>
 </p>
 <h2><a name="drawing_dashed_lines">Drawing dashed lines</a></h2>
 <p>Also works for HRULE and VRULE</p>
 <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>
+<li>
+<p>default style: - - - - -
+    LINE1:data#FF0000:&quot;dashed line&quot;:dashes</p>
+</li>
+<li>
+<p>more fancy style with offset: - -  --- -  --- -
+    LINE1:data#FF0000:&quot;another dashed line&quot;:dashes=15,5,5,10:dash-offset=10</p>
+</li>
+</ul>
 <p>
 </p>
 <h2><a name="time_ranges">Time ranges</a></h2>