X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph.pod;h=ff54d6f464d24e3ca828022e3029306b6666a1e3;hb=2f28e125652e7778c1151cd15c079e0f6a442a5e;hp=eeab6bbc6c42a1bc0f4cfd87a69018a6381443af;hpb=b7c278771851b0dfad0daf1c817fbc93316ef96e;p=rrdtool.git diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index eeab6bb..ff54d6f 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -1,30 +1,20 @@ =head1 NAME -rrdtool graph - Round Robin Database tool grapher functions +rrdgraph - About drawing pretty graphs with rrdtool -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 +=head1 SYNOPSIS B I -[EB>E ...] -EB>E -[EB>E ...] -[EB>E ...] -[EB>E ...] -[EB>E ...] -[EB>E ...] +[I> ...] +[I> ...] +[I> ...] +[I> ...] +[I> ...] +[I> ...] =head1 DESCRIPTION -The B function of B is used to represent the +The B function of B is used to present the data from an B to a human viewer. Its main purpose is to create a nice graphical representation but it can also generate a numerical report. @@ -38,16 +28,15 @@ collect data from two or more databases (one per statement though). If you want to display averages, maxima, percentiles etcetera it is best to collect them now using the -B> statement. At this -stage, this command works at the unprocessed data from the B. -I<(Note: this is not yet true; it works on consolidated information -right now)> +B> statement. +Currently this makes no difference but in a future version +of rrdtool you may want to collect these values before consolidation. The data fetched from the B is then B so that there is exactly one datapoint per pixel in the graph. If you do not take care yourself, B will expand the range slightly -if necessary (in that case the first pixel may very well become -unknown!). +if necessary (in that case the first and/or last pixel may very +well become unknown!). Sometimes data is not exactly as you would like to display it. For instance, you might be collecting B per second but want to @@ -55,35 +44,28 @@ display B per second. This is where the B> command is designed for. After B the data, a copy is made and this copy is modified using a rather flexible B> command -set. If you use B> -statements after this, they work on the consolidated data and may -return other values for maximum, minimum etcetera! +set. When you are done fetching and processing the data, it is time to graph it (or print it). This ends the B sequence. =head1 OPTIONS -It is expected that most options will move to the graph definition -statements (after all, most of them do define graph elements...). - =over 4 =item filename The name and path of the graph to generate. It is recommended to -end this in C<.png> or C<.gif> but B does not enforce this. +end this in C<.png>, C<.svg> or C<.eps> but B does not enforce this. I can be 'C<->' to send the image to C. In that case, no other output is generated. -Z<> - =item Time range -B<[-s|--start EtimeE]> -B<[-e|--end EtimeE]> -B<[--step EsecondsE]> +[B<-s>|B<--start> I