- Timestamp:
- 04/09/09 21:43:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/graph.php
r604 r621 509 509 510 510 # Calculate time range. 511 //if( isset($sourcetime) )512 //{511 if( isset($sourcetime) ) 512 { 513 513 //printf("yay"); 514 514 515 //$end = $sourcetime;515 $end = $sourcetime; 516 516 // # Get_context makes start negative. 517 //$start = $sourcetime + $start;517 $start = $sourcetime + $start; 518 518 519 519 // # Fix from Phil Radden, but step is not always 15 anymore. … … 521 521 // $end = floor($end / 672) * 672; 522 522 523 //$command = RRDTOOL . " graph - --start $start --end $end ".524 //"--width $width --height $height $lower_limit ".525 //"--title '$title' $extras $background ".526 //$series;527 //}523 $command = RRDTOOL . " graph - --start $start --end $end ". 524 "--width $width --height $height $lower_limit ". 525 "--title '$title' $extras $background ". 526 $series; 527 } 528 528 529 529 # … … 535 535 # $series; 536 536 537 //else {537 else { 538 538 $command = RRDTOOL . " graph - --start $period_start --end $period_stop ". 539 539 "--width $width --height $height $lower_limit ". 540 540 "--title '$title' $extras $background ". 541 541 $series; 542 //}542 } 543 543 544 544 $debug=0;
Note: See TracChangeset
for help on using the changeset viewer.