X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.src;h=4d4a5574ac4a9183236d18ddae0a7aba158408d5;hb=8a16a11b3b30dfb937ed42fa69c9e5442d4eca3c;hp=2120d0ff80d6592d5c3f211300d16ed35a1aa222;hpb=5cbf604e8be474094aef371c53917ec9046bad32;p=rrdtool.git diff --git a/doc/rrdgraph_graph.src b/doc/rrdgraph_graph.src index 2120d0f..4d4a557 100644 --- a/doc/rrdgraph_graph.src +++ b/doc/rrdgraph_graph.src @@ -1,27 +1,52 @@ =include name -=head1 SYNOPSYS +=head1 SYNOPSIS -I<(to be) Depriciated commands> +=over 4 + +=item B + +=over 4 + +=item B : I : I : I + +=item B : I : I : I + +=item B : I # I [ :I ] + +=item B : I # I [ :I ] + +=back + +=item B -[BIB<:>IB<:>I] -[BIB<:>IB<:>I] -[BIB<#>I[B<:>I]] -[BI[B<#>I[B<:>I]]] +=over 8 -I<(soon) available commands> +=item B : I : I -[BIB<:>I] -[BIB<:>I] -[BI] -[BIB<#>I[B<:>I]] -[B{B<1>|B<2>|B<3>}B<:>I[B<#>I[B<:>I]]][B<:STACK>] -[BI[B<#>I[B<:>I]]][B<:STACK>] +=item B : I : I -I +=item B : I -[BI] -[BIB<#>I[B<:>I]] +=item B : I # I [ : I ] + +=item B{I} : I # I [ : I ] [ : STACK ] + +=item B C<:> I C<#> I [ C<:> I ] [ C<:> C ] + +=cut + +# =item B : I B<#> I [ B<:> I ] + +=pod + +=item B : I B<#> I [ : I [ : I ] ] + +=item B : I , I + +=back + +=back =head1 DESCRIPTION @@ -31,12 +56,14 @@ Similarly no report is generated if you don't use print options. =head1 PRINT -BIB<:>IB<:>I +=over 4 + +=item B : I : I : I -I +I The first form of this command is to be used with B Is. -BIB<:>I +=item B : I : I Depending on the context, either the value component or the time component of a B is printed using I. It is an error @@ -56,15 +83,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) @@ -116,8 +144,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 * @@ -125,24 +153,26 @@ B<%Z> time zone =back +=back + =head1 GRAPH -BIB<:>IB<:>I +=over 4 + +=item B : I : I : I -I -This is the same as B but now it is printed inside the graph. -See L for more information. +I +This is the same as C but now it is printed inside the graph. -BIB<:>I +=item B : I : I -This is the same as B but now it is printed inside the graph. -See L for more information. +This is the same as C but now it is printed inside the graph. -BI +=item B : I Text is printed literally in the legend section of the graph -BIB<#>I[B<:>I] +=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 @@ -150,7 +180,7 @@ 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. -BI