Changeset 733 for branches/0.4/web/addons/job_monarch/graph.php
- Timestamp:
- 03/24/13 14:32:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/graph.php
r731 r733 524 524 525 525 # Calculate time range. 526 if ( isset($sourcetime) )526 if ( isset($sourcetime) ) 527 527 { 528 528 $end = $sourcetime; … … 532 532 # Fix from Phil Radden, but step is not always 15 anymore. 533 533 if ($range=="month") 534 { 534 535 $end = floor($end / 672) * 672; 535 536 $command = $conf['rrdtool']. " graph - --start $start --end $end ".537 "--width $width --height $height $lower_limit ".538 "--title '$title' $extras $background ".539 $series;540 } 541 else 536 } 537 $command = $conf['rrdtool']. " graph - --start $start --end $end ". 538 "--width $width --height $height $lower_limit ". 539 "--title '$title' $extras $background ". 540 $series; 541 } 542 else 542 543 { 543 544 $command = $conf['rrdtool'] . " graph - --start $period_start --end $period_stop ". 544 "--width $width --height $height $lower_limit".545 "--title '$title' $extras $background ".546 $series;545 "--width $width --height $height $lower_limit --color BACK#$load_color ". 546 "--title '$title' $extras $background ". 547 $series; 547 548 } 548 549 549 550 $debug=0; 551 552 if( !isset( $load_color ) ) 553 { 554 $load_color = '000000'; 555 } 550 556 551 557 # Did we generate a command? Run it.
Note: See TracChangeset
for help on using the changeset viewer.