~ubuntu-branches/ubuntu/maverick/rrdtool/maverick

« back to all changes in this revision

Viewing changes to doc/rrdgraph_graph.html

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2010-07-22 08:07:01 UTC
  • mfrom: (1.2.8 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100722080701-k46mgdfz6euxwqsm
Tags: 1.4.3-1ubuntu1
* Merge from debian unstable, Remaining changes:
  - debian/control: Don't build against ruby1.9 as we don't want
    it in main.
* require libdbi >= 0.8.3 to prevent aborts when using dbi datasources

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
</dd>
143
143
</dl>
144
144
<p>If you PRINT a VDEF value, you can also print the time associated with it by appending the string
145
 
<strong>:strftime</strong> to the format. Note that rrdtool uses the strftime function of your OSs C library. This means that
 
145
<strong>:strftime</strong> to the format. Note that RRDtool uses the strftime function of your OSs C library. This means that
146
146
the conversion specifier may vary. Check the manual page if you are uncertain. The following is a list of
147
147
conversion specifiers usually supported across the board.</p>
148
148
<dl>
217
217
<dt><strong><strong>%S</strong></strong></dt>
218
218
 
219
219
<dd>
220
 
<p>The seconds since the epoch (1.1.1970) (libc dependant non standard!)</p>
 
220
<p>The seconds since the epoch (1.1.1970) (libc dependent non standard!)</p>
221
221
</dd>
222
222
<dt><strong><a name="_u" class="item"><strong>%U</strong></a></strong></dt>
223
223
 
402
402
right aligned, and <strong>\c</strong> for centered. In the next section there is an
403
403
example showing how to use centered formatting.</p>
404
404
<p><strong>\n</strong> is a valid alias for <strong>\l</strong> since incomplete parsing in earlier
405
 
versions of rrdtool lead to this behavior and a number of people has been using it.</p>
 
405
versions of RRDtool lead to this behavior and a number of people has been using it.</p>
406
406
<p>Normally there are two space characters inserted between every two items
407
407
printed into the graph. The space following a string can be suppressed by
408
408
putting a <strong>\g</strong> at the end of the string. The <strong>\g</strong> also ignores any space
412
412
 GPRINT:a:MAX:%lf%s\g</pre>
413
413
<p>A special case is COMMENT:<strong>\s</strong> which inserts some additional vertical space
414
414
before placing the next row of legends.</p>
415
 
<p>If you are using the proportional font in your graph, you can use tab
416
 
characters or the sequence <strong>\t</strong> to line-up legend elements. Note that
 
415
<p>If you want to have left and right aligned legends on the same line use COMMENT:<strong>\u</strong>
 
416
to go one line back like this:</p>
 
417
<pre>
 
418
 COMMENT:left\l
 
419
 COMMENT:\u
 
420
 COMMENT:right\r</pre>
 
421
<p>When using a proportional font in your graph, the tab
 
422
characters or the sequence <strong>\t</strong> will line-up legend elements. Note that
417
423
the tabs inserted are relative to the start of the current legend
418
424
element!</p>
419
425
<p>Since RRDtool 1.3 is using Pango for rending text, you can use Pango markup.
496
502
<dt><strong><a name="strikethrough_color" class="item"><strong>strikethrough_color</strong></a></strong></dt>
497
503
 
498
504
<dd>
499
 
<p>The color of strikethrough lines; an RGB color specification such as '#00FF00' or a color name such as 'red'</p>
 
505
<p>The color of crossed out lines; an RGB color specification such as '#00FF00' or a color name such as 'red'</p>
500
506
</dd>
501
507
<dt><strong><a name="fallback" class="item"><strong>fallback</strong></a></strong></dt>
502
508
 
544
550
<dt><strong><a name="s" class="item"><strong>s</strong></a></strong></dt>
545
551
 
546
552
<dd>
547
 
<p>Strikethrough</p>
 
553
<p>Strike through</p>
548
554
</dd>
549
555
<dt><strong><a name="sub" class="item"><strong>sub</strong></a></strong></dt>
550
556