=pod =head1 NAME rrdgraph_graph - rrdtool graph command reference =head1 SYNOPSIS BB<:>IB<:>I BB<:>IB<:>I BB<:>I BB<:>IB<#>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 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 =over 4 =item BIB<:>I<:>I I The first form of this command is to be used with B Is. =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 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> prints numbers like 1.2346e+04. The optional integers # denote field width and decimal precision. =item * B<%#.#lf> prints numbers like 12345.6789, with optional field width and precision. =item * 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). =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>) 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. =back For printing times: =over 4 =item * B<%%> just prints a literal '%' character =item * B<%a, %A> print the abbreviated or full name of the day of the week. =item * B<%b, %B> print the abbreviated or full name of the month. =item * B<%d, %m, %y, %H, %M, %S> print day, month, year, hour, minute, and second in two-digit format. =item * B<%Y> prints the year in 4-digit format. =item * B<%I, %p> print the hour (01..12), 'am' or 'pm'. =item * B<%j, %w> print day of the week (0..6), day of the year (1..366) =item * B<%c, %x, %X> print date+time, date only, time only. =item * 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> prints the time zone. =back =back =head1 GRAPH =over 4 =item BB<:>IB<:>IB<:>I I This is the same as C, but printed inside the graph. =item BB<:>IB<:>I This is the same as C, but printed inside the graph. =item BB<:>I Text is printed literally in the legend section of the graph. =item BB<:>IB<#>I [ :I ] I in new scripts.> =item BB<:>IB<#>I [B<:>I ] Draw a vertical line at I