Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<rrd_firstrrd_info>
^RRD FunctionsLast updated: Mon, 26 Oct 2026

rrd_graph

(PECL rrd >= 0.9.0)

rrd_graph — Creates image from a data

Description

function rrd_graph(string $filename, array $options): array

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 definitions, etc.) are allowed.

Return Values

Array with information about generated image is returned, or false on failure.


<rrd_firstrrd_info>
^RRD FunctionsLast updated: Mon, 26 Oct 2026