- Timestamp:
- 08/11/05 09:54:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/toga/graph.php
r159 r192 171 171 $run_str = ":'Running Processes'"; 172 172 } else { 173 173 $load_str = ""; 174 $cpu_str = ""; 175 $run_str = ""; 174 176 } 175 177 … … 400 402 } 401 403 402 list( $xgrid, $t_format ) = determineXGrid( $period_start, $period_stop );403 404 if( $t_format != "" ) {405 $prnt_start = strftime( $t_format, $period_start );406 $prnt_stop = strftime( $t_format, $period_stop );407 $series = "COMMENT:' Timescale $prnt_start - $prnt_stop' " . $series;408 }404 #list( $xgrid, $t_format ) = determineXGrid( $period_start, $period_stop ); 405 406 #if( $t_format != "" ) { 407 # $prnt_start = strftime( $t_format, $period_start ); 408 # $prnt_stop = strftime( $t_format, $period_stop ); 409 # $series .= " COMMENT:' Timescale $prnt_start - $prnt_stop' "; 410 #} 409 411 410 412 … … 412 414 # Generate the rrdtool graph command. 413 415 # 416 #$command = RRDTOOL . " graph - --start $period_start --end $period_stop ". 417 # "--width $width --height $height $upper_limit $lower_limit ". 418 # "--title '$title' $vertical_label $extras $background $xgrid ". 419 # $series; 414 420 $command = RRDTOOL . " graph - --start $period_start --end $period_stop ". 415 "--width $width --height $height $upper_limit $lower_limit".416 "--title '$title' $ vertical_label $extras $background $xgrid ".421 "--width $width --height $height ". 422 "--title '$title' $extras $background ". 417 423 $series; 418 424
Note: See TracChangeset
for help on using the changeset viewer.