X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.src;h=9e315b9dfa775f862187c2b90b51dd7c5341dff9;hb=6be9ae2ce97d602811d4ccc07a2f0b42142ff5b0;hp=44beac79e36fe4e677b9f6aebadfeeaddc4aed85;hpb=b7c278771851b0dfad0daf1c817fbc93316ef96e;p=rrdtool.git diff --git a/doc/rrdgraph_graph.src b/doc/rrdgraph_graph.src index 44beac7..9e315b9 100644 --- a/doc/rrdgraph_graph.src +++ b/doc/rrdgraph_graph.src @@ -2,26 +2,53 @@ =head1 SYNOPSYS -I +=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 + +=over 8 -[BIB<:>IB<:>I] -[BIB<:>IB<:>I] -[BIB<#>I[B<:>I]] -[BI[B<#>I[B<:>I]]] +=item B : I : I -I +=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 +=item B : I # I [ : I ] -[BI] -[BIB<#>I[B<:>I]] +=item B{I} : I # I [ : I ] [ : STACK ] + +=item B C<:> I C<#> I [ C<:> I ] [ C<:> C ] + +=item B : I B<#> I [ B<:> I ] + +=item B : I B<#> I [ : I [ : I ] ] + +=back + +=item B + +=over 8 + +=item B : I , I + +=back + +=back =head1 DESCRIPTION @@ -31,12 +58,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 +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) @@ -125,33 +155,34 @@ B<%Z> time zone =back +=back + =head1 GRAPH -BIB<:>IB<:>I +=over 4 -I -This is the same as B but now it is printed inside the graph. -See L for more information. +=item B : I : I : I -BIB<:>I +I +This is the same as C but now it is printed inside the graph. -This is the same as B but now it is printed inside the graph. -See L for more information. +=item B : I : I -BI +This is the same as C but now it is printed inside the graph. -Text is printed literally in the legend section of the graph +=item B : I -BIB<#>I[B<:>I] +Text is printed literally in the legend section of the graph -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 maximum) red, green and blue. Optionally a legend box and string is -printed in the legend section. +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