X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdgraph.pod;h=54fd5b0cbae83ada1ff137f7b4a9ca90c6e20418;hp=6017efd08032ab6d11127f1ccbc0259b8df23a1a;hb=ea8c705cc27ef33dee2cc6561ed51e16ddc5d0a9;hpb=a669be0918d3b0427e6ce549c1877963ce046b95 diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index 6017efd..54fd5b0 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -4,7 +4,7 @@ rrdgraph - Round Robin Database tool grapher functions =head1 SYNOPSIS -B I +B I [I> ...] [I> ...] [I> ...] @@ -52,6 +52,14 @@ graph it (or print it). This ends the B sequence. =over 4 +=item B + +This alternate version of B takes the same arguments and performs the +same function. The I stands for I, which describes the output +returned. B will return a lot of information about the graph using +the same format as rrdtool info (key = value). See the bottom of the document for more information. + + =item filename The name and path of the graph to generate. It is recommended to @@ -68,7 +76,7 @@ this case, no other output is generated. The start and end of the time series you would like to display, and which B the data should come from. Defaults are: 1 day ago until -now, with the best possible resolution. B and B can +now, with the best possible resolution. B and B can be specified in several formats, see L and L. By default, B calculates the width of one pixel in @@ -91,10 +99,15 @@ placed string at the left hand side of the graph. [B<-w>|B<--width> I] [B<-h>|B<--height> I] [B<-j>|B<--only-graph>] +[B<-D>|B<--full-size-mode>] -The width and height of the B (the part of the graph with +By default, the width and height of the B (the part with the actual data and such). This defaults to 400 pixels by 100 pixels. +If you specify the B<--full-size-mode> option, the width and height +specify the final dimensions of the output image and the canvas +is automatically resized to fit. + If you specify the B<--only-graph> option and set the height E 32 pixels you will get a tiny graph image (thumbnail) to use as an icon for use in an overview, for example. All labeling will be stripped off @@ -123,6 +136,14 @@ maximum y-axis from the actual minimum and maximum data values. Our example would display slightly less than C<260-0.001> to slightly more than C<260+0.001> (this feature was contributed by Sasha Mikheev). +[B<-J>|B<--alt-autoscale-min>] + +Where C<--alt-autoscale> will modify both the absolute maximum AND minimum +values, this option will only affect the minimum value. The maximum +value, if not defined on the command line, will be 0. This option can +be useful when graphing router traffic when the WAN line uses compression, +and thus the throughput may be higher than the WAN line speed. + [B<-M>|B<--alt-autoscale-max>] Where C<--alt-autoscale> will modify both the absolute maximum AND minimum @@ -133,13 +154,12 @@ and thus the throughput may be higher than the WAN line speed. [B<-N>|B<--no-gridfit>] -In order to avoid anti-aliasing effects gridlines are placed on -integer pixel values. This is by default done by extending -the scale so that gridlines happens to be spaced using an -integer number of pixels and also start on an integer pixel value. -This might extend the scale too much for some logarithmic scales -and for linear scales where B<--alt-autoscale> is needed. -Using B<--no-gridfit> disables modification of the scale. +In order to avoid anti-aliasing blurring effects rrdtool snaps +points to device resolution pixels, this results in a crisper +aperance. If this is not to your liking, you can use this switch +to turn this behaviour off. + +Gridfitting is turned off for PDF, EPS, SVG output by default. =item Grid @@ -174,7 +194,7 @@ This places grid lines every 10 minutes, major grid lines every hour, and labels every 4 hours. The labels are placed under the major grid lines as they specify exactly that time. - --x-grid HOUR:8:DAY:1:DAY:1:0:%A + --x-grid HOUR:8:DAY:1:DAY:1:86400:%A This places grid lines every 8 hours, major grid lines and labels each day. The labels are placed exactly between two major grid lines @@ -191,13 +211,18 @@ placed every I