The RRDGraph class

(PECL rrd >= 0.9.0)

¼ò½é

Class for exporting data from RRD database to image file.

ÀàÕªÒª

RRDGraph {
/* ·½·¨ */
public __construct ( string $path )
public array save ( void )
public array saveVerbose ( void )
public void setOptions ( array $options )
}

Table of Contents

User Contributed Notes

Anonymous 01-Dec-2016 11:38
On Windows if you get "Cannot parse DS in 'DEF:rr=C:/Users/xxx/code/monitor/speed_gauge.rrd:value:MAX'" error on Windows. This may mean that rrdtool does not like ":" on your file name - it needs to be replaced with "\:"

Atleast for me fixed that issue if I replace colon "str_replace(':', '\\:', $rrdPath);"