Changeset 621 for trunk/web


Ignore:
Timestamp:
04/09/09 21:43:57 (12 years ago)
Author:
ramonb
Message:

job_monarch/graph.php:

  • not exactly sure what I did here, but I fixed the rjqj graph
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/graph.php

    r604 r621  
    509509
    510510# Calculate time range.
    511 //if( isset($sourcetime) )
    512 //{
     511if( isset($sourcetime) )
     512{
    513513        //printf("yay");
    514514
    515 //      $end = $sourcetime;
     515        $end = $sourcetime;
    516516//      # Get_context makes start negative.
    517 //      $start = $sourcetime + $start;
     517        $start = $sourcetime + $start;
    518518
    519519//      # Fix from Phil Radden, but step is not always 15 anymore.
     
    521521//              $end = floor($end / 672) * 672;
    522522
    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}
    528528
    529529#
     
    535535#       $series;
    536536
    537 //else {
     537else {
    538538        $command = RRDTOOL . " graph - --start $period_start --end $period_stop ".
    539539                "--width $width --height $height $lower_limit ".
    540540                "--title '$title' $extras $background ".
    541541                $series;
    542 //}
     542}
    543543
    544544$debug=0;
Note: See TracChangeset for help on using the changeset viewer.