<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The RRDGraph class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="rrdcreator.save.html">RRDCreator::save</a></div> <div class="next" style="text-align: right; float: right;"><a href="rrdgraph.construct.html">RRDGraph::__construct</a></div> <div class="up"><a href="book.rrd.html">RRD</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.rrdgraph" class="reference"> <h1 class="title">The RRDGraph class</h1> <div class="partintro"><p class="verinfo">(PECL rrd >= 0.9.0)</p> <div class="section" id="rrdgraph.intro"> <h2 class="title">Introduction</h2> <p class="para"> Class for exporting data from RRD database to image file. </p> </div> <div class="section" id="rrdgraph.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">RRDGraph</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><a href="rrdgraph.construct.html" class="methodname">__construct</a></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$path</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="rrdgraph.save.html" class="methodname">save</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="rrdgraph.saveverbose.html" class="methodname">saveVerbose</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="rrdgraph.setoptions.html" class="methodname">setOptions</a></span> ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$options</code></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="rrdgraph.construct.html">RRDGraph::__construct</a> — Creates new RRDGraph instance</li><li><a href="rrdgraph.save.html">RRDGraph::save</a> — Saves the result of query into image</li><li><a href="rrdgraph.saveverbose.html">RRDGraph::saveVerbose</a> — Saves the RRD database query into image and returns the verbose information about generated graph.</li><li><a href="rrdgraph.setoptions.html">RRDGraph::setOptions</a> — Sets the options for rrd graph export</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="rrdcreator.save.html">RRDCreator::save</a></div> <div class="next" style="text-align: right; float: right;"><a href="rrdgraph.construct.html">RRDGraph::__construct</a></div> <div class="up"><a href="book.rrd.html">RRD</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>