downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

RRDUpdater> <RRDGraph::saveVerbose
[edit] Last updated: Fri, 30 Nov 2012

view this page in

RRDGraph::setOptions

(PECL rrd >= 0.9.0)

RRDGraph::setOptionsSets the options for rrd graph export

Opis

public void RRDGraph::setOptions ( array $options )

Parametry

options

List of options for the image generation from the RRD database file. It can be list of strings or list of strings with keys for better readability. Read the rrd graph man pages for list of available options.

Zwracane wartości

Nie jest zwracana żadna wartość.

Przykłady

Przykład #1 RRDGraph::setOptions() examples

<?php
$graphObj
->setOptions(array(
    
"--start" => "920804400",
    
"--end" => 920808000,
    
"--vertical-label" => "m/s",
    
"DEF:myspeed=$rrdFile:speed:AVERAGE",
    
"CDEF:realspeed=myspeed,1000,*",
    
"LINE2:realspeed#FF0000"
));
?>



add a note add a note User Contributed Notes RRDGraph::setOptions - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites