=head1 NAME rrdtool graph - Round Robin Database tool grapher functions 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. =head1 SYNOPSYS I<(to be) Depriciated commands> [BIB<:>IB<:>I] [BIB<:>IB<:>I] [BIB<#>I[B<:>I]] [BI[B<#>I[B<:>I]]] I<(soon) available commands> [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>] I [BI] [BIB<#>I[B<:>I]] =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. =head1 PRINT BIB<:>IB<:>I I The first form of this command is to be used with B Is. 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 to specify a I generated by a B or B. Any text in I is printed literally with one exception: The percent character introduces a formatter string. This string can be: For printing values: =over 4 =item * B<%%> just prints a literal '%' character =item * B<%#.#le> (where # is an optional number) prints like 1.2346e+04 =item * B<%#.#lf> prints like 12345.6789 =item * B<%s> place this after B<%le> or B<%lf>. This will be replaced by the appropriate SI magnitude unit and the value will be scaled accordingly (123456 -> 123.456 k) =item * 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 unit stays undefined. Thus, formatter strings using B<%S> and no B<%s> will all use the same magnitude unit except for zero values. =back For printing times: =over 4 =item * B<%%> just prints a literal '%' character =item * B<%a, %A> prints abbreviated, full weekday name =item * B<%b, %B> prints abbreviated, full month name =item * B<%d, %m, %y, %H, %M, %S> day,month,year,hour,minute,second all in two-digit format =item * B<%Y> year in 4-digit format =item * B<%I, %p> hour (01..12), 'am' or 'pm' =item * B<%j, %w> day of the week (0..6), day of the year (1..366) =item * 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 =item * B<%Z> time zone =back =head1 GRAPH BIB<:>IB<:>I I This is the same as B but now it is printed inside the graph. See L for more information. BIB<:>I This is the same as B but now it is printed inside the graph. See L for more information. BI Text is printed literally in the legend section of the graph BIB<#>I[B<:>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. BI