X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.src;h=83ccae58aa29f6fe16e5ce3aac93a490d3add621;hb=85531c9fe3758d08f782503f888fff12b7c002f5;hp=5b163d40c908277368e6cc9d307fa66373451938;hpb=e7de71c824fd824d345c8e7a99a815fe1525eeef;p=rrdtool.git diff --git a/doc/rrdgraph_graph.src b/doc/rrdgraph_graph.src index 5b163d4..83ccae5 100644 --- a/doc/rrdgraph_graph.src +++ b/doc/rrdgraph_graph.src @@ -1,10 +1,10 @@ =include name -=head1 SYNOPSYS +=head1 SYNOPSIS =over 4 -=item B +=item B =over 4 @@ -18,6 +18,8 @@ =back +Z<> + =item B =over 8 @@ -30,19 +32,17 @@ =item B : I # I [ : I ] -=item B{I} : I # I [ : I ] [ : STACK ] +=item B{I} : I # I [ : I ] [ C<:STACK> ] -=item B C<:> I C<#> I [ C<:> I ] [ C<:> C ] +=item B C<:> I C<#> I [ C<:> I ] [ C<:STACK> ] -=item B : I B<#> I [ B<:> I ] +=cut -=item B : I B<#> I [ : I [ : I ] ] +# =item B : I B<#> I [ B<:> I ] -=back +=pod -=item B - -=over 8 +=item B : I B<#> I [ : I [ : I ] ] =item B : I , I @@ -62,7 +62,7 @@ Similarly no report is generated if you don't use print options. =item B : I : I : I -I +I The first form of this command is to be used with B Is. =item B : I : I @@ -85,15 +85,16 @@ B<%%> just prints a literal '%' character =item * -B<%#.#le> (where # is an optional number) prints like 1.2346e+04 +B<%#.#le> prints like 1.2346e+04. Optional numbers # are field width and +decimal precision =item * -B<%#.#lf> prints like 12345.6789 +B<%#.#lf> prints like 12345.6789, with optional field width and precision =item * -B<%s> place this after B<%le> or B<%lf>. This will be replaced by the +B<%s> place this after B<%le>, B<%lf> or B<%lg>. This will be replaced by the appropriate SI magnitude unit and the value will be scaled accordingly (123456 -> 123.456 k) @@ -145,8 +146,8 @@ B<%c, %x, %X> date+time, date, time =item * -B<%U, %W> week number of the current year with either the first sunday or -the first monday determining the first week +B<%U, %W> week number of the current year with either the first Sunday or +the first Monday determining the first week =item * @@ -162,7 +163,7 @@ B<%Z> time zone =item B : I : I : I -I +I This is the same as C but now it is printed inside the graph. =item B : I : I @@ -175,11 +176,7 @@ Text is printed literally in the legend section of the graph =item B : I # I [ :I ] -Draw an horizontal line at I. Its color is composed from three -hexadecimal numbers specifying the color components (00 is off, FF is -maximum) red, green and blue. Optionally a legend box and string is -printed in the legend section. I can be a variable from a B. -It is an error to use Is from B or B here. +I in new scripts.> =item B : I # I [ : I ] @@ -189,7 +186,8 @@ maximum) red, green and blue. Optionally a legend box and string is printed in the legend section. I