X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=blobdiff_plain;f=doc%2Frrdgraph.html;h=e7b3fb0870d7e9aaf4a93faee1532702c64cb16b;hp=b3063d8d6afd14b98c917ad3a917338d61117780;hb=645054bac6187b0e83fd4125fd59e4feda216b64;hpb=ffa00ac697dccce18dca8880ca7a14066521ac5c diff --git a/doc/rrdgraph.html b/doc/rrdgraph.html index b3063d8..e7b3fb0 100644 --- a/doc/rrdgraph.html +++ b/doc/rrdgraph.html @@ -1,14 +1,18 @@ + rrdgraph + -

+ +
+

+ + +

@@ -183,7 +191,7 @@ to turn this behaviour off.

Gridfitting is turned off for PDF, EPS, SVG output by default.

-

X-Axis

+

X-Axis

[-x|--x-grid GTM:GST:MTM:MST:LTM:LST:LPR:LFM]

[-x|--x-grid none]

The x-axis label is quite complex to configure. If you don't have @@ -213,7 +221,7 @@ each day. The labels are placed exactly between two major grid lines as they specify the complete day and not just midnight.

-

Y-Axis

+

Y-Axis

[-y|--y-grid grid step:label factor]

[-y|--y-grid none]

Y-axis grid lines appear at each grid step interval. Labels are @@ -322,6 +330,10 @@ 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: --color ARROW#00FF00

+

[--border width]]

+

Width in pixels for the 3d border drawn around the image. Default 2, 0 +disables the border. See SHADEA and SHADEB above for setting the border +color.

[--zoom factor]

Zoom the graphics by the given amount. The factor must be > 0

[-n|--font FONTTAG:size:[font]]

@@ -331,6 +343,9 @@ for the title, AXIS for the axis labels, UNIT for the label, LEGEND for the graph legend, WATERMARK for the watermark on the edge of the graph.

Use Times for the title: --font TITLE:13:Times

+

Note that you need to quote the argument to --font if the font-name +contains whitespace: +--font "TITLE:13:Some Font"

If you do not give a font string you can modify just the size of the default font: --font TITLE:13:.

If you specify the size 0 then you can modify just the font without touching @@ -340,12 +355,12 @@ resetting the default fontsizes: --font DEFAULT:0:Courier.

variable RRD_DEFAULT_FONT if you want to change this.

RRDtool uses Pango for its font handling. This means you can to use the full Pango syntax when selecting your font:

-

The font name has the form ``[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]'', +

The font name has the form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a comma separated list of families optionally terminated by a comma, STYLE_OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, stretch, or gravity, and SIZE is a decimal number (size in points) or optionally -followed by the unit modifier ``px'' for absolute size. Any one of the options +followed by the unit modifier "px" for absolute size. Any one of the options may be absent.

[-R|--font-render-mode {normal,light,mono}]

There are 3 font render modes:

@@ -449,14 +464,14 @@ know what is where on the graph.

The following environment variables may be used to change the behavior of rrdtoolgraph:

-
RRDCACHED_ADDRESS
-
+
RRDCACHED_ADDRESS
+
-If this environment variable is set it will have the same effect as specifying +

If this environment variable is set it will have the same effect as specifying the --daemon option on the command line. If both are present, the command -line argument takes precedence. +line argument takes precedence.

-

+