X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph.pod;h=6c7c3305cf7bd9cc0bd9a6076db91eb47943b6af;hb=299d1636596a1911659e0a53bfad5c47e72835e0;hp=121a65ef618fb5e2d95849bb50bf4724d5f262dd;hpb=cb092381724e4ba8a1f18712fefc541a3d370f99;p=rrdtool.git diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index 121a65e..6c7c330 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -91,10 +91,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 +128,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 +146,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 +186,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 +203,18 @@ placed every I