X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.src;h=bf92d454ac84c58000594b36dce362c478066e89;hb=09fa22ce43438f77625e759d7b29d8ae6bc56084;hp=44beac79e36fe4e677b9f6aebadfeeaddc4aed85;hpb=b7c278771851b0dfad0daf1c817fbc93316ef96e;p=rrdtool.git diff --git a/doc/rrdgraph_graph.src b/doc/rrdgraph_graph.src index 44beac7..bf92d45 100644 --- a/doc/rrdgraph_graph.src +++ b/doc/rrdgraph_graph.src @@ -1,27 +1,38 @@ -=include name +=head1 NAME -=head1 SYNOPSYS +rrdgraph_graph - rrdtool graph command reference -I +=head1 SYNOPSIS -[BIB<:>IB<:>I] -[BIB<:>IB<:>I] -[BIB<#>I[B<:>I]] -[BI[B<#>I[B<:>I]]] +BB<:>IB<:>I -I +BB<:>IB<:>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>] +BB<:>I -I +BB<:>IB<#>I[B<:>I] -[BI] -[BIB<#>I[B<:>I]] +BIB<:>IB<#>I[B<:>I][B<:>B] + +BB<:>IB<#>I[B<:>I][B<:>B] + +BB<:>IB<#>I[I][B<:>I[B<:>I]] + +BB<:>IB<:>I + +=cut + +BB<:>IB<#>I[I][B<:>I] + +=pod + +BB<:>IB<:>IB<:>I (deprecated) + +BB<:>IB<:>IB<:>I (deprecated) + +BB<:>IB<#>I[B<:>I] (deprecated) + +BB<:>IB<#>I[B<:>I] (deprecated) =head1 DESCRIPTION @@ -31,12 +42,14 @@ Similarly no report is generated if you don't use print options. =head1 PRINT -BIB<:>IB<:>I +=over 4 + +=item BIB<:>I<:>I -I +I The first form of this command is to be used with B Is. -BIB<:>I +=item BIB<:>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 +69,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 +130,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,33 +139,30 @@ B<%Z> time zone =back +=back + =head1 GRAPH -BIB<:>IB<:>I +=over 4 + +=item BB<:>IB<:>IB<:>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 BB<:>IB<:>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 BB<:>I Text is printed literally in the legend section of the graph -BIB<#>I[B<:>I] - -I +=item BB<:>IB<#>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 in new scripts.> -BI