X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.pod;h=6a3db054b6b3e551c84edd3e8f26f25e6df9de71;hb=b35805403e2bd0ec6b6c862ce8883255203ab0b7;hp=eed76105926300dd6987457d050af43d1032f880;hpb=89b4e542ae2e10695233c8a4664ba8e0924bf231;p=rrdtool.git diff --git a/doc/rrdgraph_graph.pod b/doc/rrdgraph_graph.pod index eed7610..6a3db05 100644 --- a/doc/rrdgraph_graph.pod +++ b/doc/rrdgraph_graph.pod @@ -1,53 +1,53 @@ -=head1 NAME +=pod -rrdtool graph - Round Robin Database tool grapher functions +=head1 NAME -WARNING: This is for version 1.1.x which is B> software. -The software may contain serious bugs. Some of the items -described in here may not yet exist (although this should -be mentioned) or still be in the alpha stage. As with every -other RRDtool release: use at your own risk. In contrast with -the stable version of RRDtool, this release may contain bugs -known to the authors. It is highly recommended that you subscribe -to the mailing list. +rrdgraph_graph - rrdtool graph command reference -=head1 SYNOPSYS +=head1 SYNOPSIS -I<(to be) Depriciated commands> +BB<:>IB<:>I -[BIB<:>IB<:>I] -[BIB<:>IB<:>I] -[BIB<#>I[B<:>I]] -[BI[B<#>I[B<:>I]]] +BB<:>IB<:>I -I<(soon) available commands> +BB<:>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<:>IB<#>I[B<:>I] -I +B[I]B<:>IB<#>I[B<:>I][B<:>B] -[BI] -[BIB<#>I[B<:>I]] +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 These instructions allow you to generate your image or report. If you don't use any graph elements, no graph is generated. -Similarly no report is generated if you don't use print options. +Similarly, no report is generated if you don't use print options. =head1 PRINT -BIB<:>IB<:>I +=over 4 -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 @@ -67,23 +67,25 @@ B<%%> just prints a literal '%' character =item * -B<%#.#le> (where # is an optional number) prints like 1.2346e+04 +B<%#.#le> prints numbers like 1.2346e+04. The optional integers # denote field +width and decimal precision. =item * -B<%#.#lf> prints like 12345.6789 +B<%#.#lf> prints numbers 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) +accordingly (123456 -> 123.456 k). =item * -B<%S> is similar to B<%s>. It does however use a previously defined +B<%S> is similar to B<%s>. It does, however, use a previously defined magnitude unit. If there is no such unit yet, it tries to define -one (just like B<%s>). However, if the value is zero, the magnitude +one (just like B<%s>) unless the value is zero, in which case the magnitude unit stays undefined. Thus, formatter strings using B<%S> and no B<%s> will all use the same magnitude unit except for zero values. @@ -99,141 +101,202 @@ B<%%> just prints a literal '%' character =item * -B<%a, %A> prints abbreviated, full weekday name +B<%a, %A> print the abbreviated or full name of the day of the week. =item * -B<%b, %B> prints abbreviated, full month name +B<%b, %B> print the abbreviated or full name of the month. =item * -B<%d, %m, %y, %H, %M, %S> day,month,year,hour,minute,second all in two-digit format +B<%d, %m, %y, %H, %M, %S> print day, month, year, hour, minute, and +second in two-digit format. =item * -B<%Y> year in 4-digit format +B<%Y> prints the year in 4-digit format. =item * -B<%I, %p> hour (01..12), 'am' or 'pm' +B<%I, %p> print the hour (01..12), 'am' or 'pm'. =item * -B<%j, %w> day of the week (0..6), day of the year (1..366) +B<%j, %w> print day of the week (0..6), day of the year (1..366) =item * -B<%c, %x, %X> date+time, date, time +B<%c, %x, %X> print date+time, date only, time only. =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> number of the week of the current year, with either the +first Sunday (%U) or the first Monday (%W) determining the first week. =item * -B<%Z> time zone +B<%Z> prints the time zone. + +=back + +=item BIB<:>I<:>I + +I +The first form of this command is to be used with B Is. =back =head1 GRAPH -BIB<:>IB<:>I +=over 4 + +=item BB<:>IB<:>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 printed inside the graph. -BIB<:>I +=item BB<:>IB<:>IB<:>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 printed inside the graph. -BI +=item BB<:>I -Text is printed literally in the legend section of the graph +Text is printed literally in the legend section of the graph. Note that in +RRDtool 1.2 you have to escape colons in COMMENT text in the same way you +have to escape them in B<*PRINT> commands by writing B<'\:'>. -BIB<#>I[B<:>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 can be a variable from a B. -It is an error to use Is from B or B here. +I in new scripts.> -BI