php教程

The RRDGraph class

(PECL rrd >= 0.9.0)

简介

Class for exporting data from RRD database to image file.

类摘要

RRDGraph {
/* 方法 */
public __construct ( string $path )
public save ( void ) : array
public saveVerbose ( void ) : array
public setOptions ( array $options ) : void
}

Table of Contents

User Contributed Notes

Anonymous 01-Dec-2016 02: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);"

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788