RRD 函数
在线手册:中文  英文

rrd_graph

(PECL rrd >= 0.9.0)

rrd_graphCreates image from a data.

说明

array rrd_graph ( string $filename , array $options )

Creates image for a particular data from RRD file.

参数

filename

The filename to output the graph to. This will generally end in either .png, .svg or .eps, depending on the format you want to output.

options

Options for generating image. See man page of rrd graph for all possible options. All options (data definitions, variable defintions, etc.) are allowed.

返回值

Array with information about generated image is returned, FALSE when error occurs.


RRD 函数
在线手册:中文  英文

用户评论:

Matt C (2012-05-13 08:38:59)

Note; apache server requires write access to the folder in which the image is to be created otherwise no image file is produced, and (unhelpfully) no error is generated.

易百教程