« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for graphObj (0.000 sec.)
RRDGraph::setOptions — Sets the options for rrd graph export | PHP 8.3 11228
RRDGraph::setOptions (PECL rrd >= 0.9.0) RRDGraph::setOptions — Sets the options for rrd graph export 説明 public function RRDGraph::setOptions ( array $options ): void パラメータ options List of options for the image generation from the RR ... he rrd graph man pages for list of available options. 戻り値 値を返しません。 例 例1 RRDGraph::setOptions() example <?php $graphObj -> setOptions (array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFi ... :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" )); ?> 例2 Set multiple color options <?php $graphObj -> setOptions (array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "--color=BACK#000000 ... alspeed#FF0000" )); ?> Don't use key value syntax for same rrd option. It looks more readable, but it doesn't work. <?php $graphObj -> setOptions (array( "--color" => "BACK#00000000" , "--color" => "GRID#00000000" , "--color" => "MGRID#00000000" )); ?> I ...
https://man.mtool.work/php/8.3/rrdgraph.setoptions.html
OOP PECL/rrd example | PHP 8.3 7485
OOP PECL/rrd example 例1 OO usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; $outputPngFile = dirname ( __FILE__ ) . "/speed.png" ; $creator = new RRDCreator ( $rrdFile , "now -10d" , 500 ); $creator -> addDataSource ( "s ... er -> update (array( "speed" => "12345" ), "920804700" ); $updater -> update (array( "speed" => "12357" ), "920805000" ); $graphObj = new RRDGraph ( $outputPngFile ); $graphObj -> setOptions ( array( "--start" => "920804400" , "--end" => 920808000 , "--v ... abel" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); $graphObj -> save (); ?> 他のマニュアルの関連ページ Linux JM dirname(1) Linux JM dirname(3) ...
https://man.mtool.work/php/8.3/rrd.examples-oop.html
PREV 1 NEXT