RRDGraph クラス
(PECL rrd >= 0.9.0)
はじめに
RRD データベースから画像ファイルにデータをエクスポートするクラス
クラス概要
class RRDGraph
{
/* メソッド */
}目次
- RRDGraph::__construct — Creates new RRDGraph instance
- RRDGraph::save — Saves the result of query into image
- RRDGraph::saveVerbose — Saves the RRD database query into image and returns the verbose information about generated graph
- RRDGraph::setOptions — Sets the options for rrd graph export
+add a note
User Contributed Notes 1 note
Anonymous ¶
8 years ago
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);"
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google