RRDGraph
class RRDGraph (View source)
Class for exporting data from RRD database to image file.
Methods
Creates new RRDGraph instance. This instance is responsible for rendering the result of RRD database query into image.
Saves the result of RRD database query into image defined by RRDGraph::__construct().
Saves the RRD database query into image and returns the verbose information about generated graph.
If "-" is used as image filename, image data are also returned in result array.
Sets the options for rrd graph export
Details
__construct(string $path)
Creates new RRDGraph instance. This instance is responsible for rendering the result of RRD database query into image.
array|false
save()
Saves the result of RRD database query into image defined by RRDGraph::__construct().
array|false
saveVerbose()
Saves the RRD database query into image and returns the verbose information about generated graph.
If "-" is used as image filename, image data are also returned in result array.
void
setOptions(array $options)
Sets the options for rrd graph export