X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph.pod;h=63f5307f9d5844d11d1ebbc089520f60f42a3d5c;hb=313df098f215d23bdec785753506c6cf8e4201b6;hp=121a65ef618fb5e2d95849bb50bf4724d5f262dd;hpb=cb092381724e4ba8a1f18712fefc541a3d370f99;p=rrdtool.git diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index 121a65e..63f5307 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -193,11 +193,12 @@ to automatically select sensible values. [B<-Y>|B<--alt-y-grid>] -Place the Y grid dynamically based on the graph's Y range. The -algorithm ensures that you always have a grid, that there are enough -but not too many grid lines, and that the grid is metric. That is the -grid lines are placed every 1, 2, 5 or 10 units. (contributed by -Sasha Mikheev) +Place the Y grid dynamically based on the graph's Y range. The algorithm +ensures that you always have a grid, that there are enough but not too many +grid lines, and that the grid is metric. That is the grid lines are placed +every 1, 2, 5 or 10 units. This parameter will also ensure that you get +enough decimals displayed even if your graph goes from 69.998 to 70.001. +(contributed by Sasha Mikheev). [B<-o>|B<--logarithmic>] @@ -226,6 +227,12 @@ How many digits should rrdtool assume the y-axis labels to be? You may have to use this option to make enough space once you start fideling with the y-axis labeling. +[B<--units=si>] + +With this option y-axis values on logarithmic graphs will be scaled to +the appropriate units (k, M, etc.) instead of using exponential notation. +Note that for linear graphs, SI notation is used by default. + =back =item Miscellaneous @@ -260,13 +267,13 @@ and blue. Optionally you may add another hexadecimal number specifying the transparency (FF is solid). You may set this option several times to alter multiple defaults. -A green arrow is made by: C<--color ARROW:00FF00> +A green arrow is made by: C<--color ARROW#00FF00> [B<--zoom> I] Zoom the graphics by the given amount. The factor must be E 0 -[B<-n>|B<--font> IB<:>IB<:>I] +[B<-n>|B<--font> IB<:>IB<:>[I]] This lets you customize which font to use for the various text elements on the RRD graphs. C sets the default value for all @@ -275,6 +282,13 @@ for the vertical unit label, C for the graph legend. Use Times for the title: C<--font TITLE:13:/usr/lib/fonts/times.ttf> +If you do not give a font string you can modify just the sice of the default font: +C<--font TITLE:13:>. + +If you specify the size 0 then you can modify just the font without touching +the size. This is especially usefull for altering the default font without +resetting the default fontsizes: C<--font DEFAULT:0:/usr/lib/fonts/times.ttf>. + RRDtool comes with a preset default font. You can set the environment variable C if you want to change this. @@ -330,6 +344,11 @@ If you are graphing memory (and NOT network traffic) this switch should be set to 1024 so that one Kb is 1024 byte. For traffic measurement, 1 kb/s is 1000 b/s. +[B<-W>|B<--watermark> I] + +Adds the given string as a watermark, horizontally centred, at the bottom +of the graph. + =item Data and variables BIB<=>IB<:>IB<:>I[B<:step=>I][B<:start=>I