downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

rrd_info> <rrd_first
[edit] Last updated: Fri, 26 Apr 2013

view this page in

rrd_graph

(PECL rrd >= 0.9.0)

rrd_graphCreates image from a data.

Description

array rrd_graph ( string $filename , array $options )

Creates image for a particular data from RRD file.

Parameters

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.

Return Values

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



add a note add a note User Contributed Notes rrd_graph - [1 notes]
up
0
Matt C
11 months ago
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites