index 5dbf576693c410424051d5c6d0a8d81a188f2ee8..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>
<body style="background-color: white">
-
-<!-- INDEX BEGIN -->
-<div name="index">
<p><a name="__index__"></a></p>
+<!-- INDEX BEGIN -->
<!--
<ul>
<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_y_axis">Offsetting a line on the y-axis</a></li>
+ <li><a href="#offsetting_a_line_on_the_yaxis">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>
GPRINT:ds1pct:"%6.2lf %Sbps\l"</pre>
<p>
</p>
-<h2><a name="offsetting_a_line_on_the_y_axis">Offsetting a line on the y-axis</a></h2>
+<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>
+<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>