Ignore:
Timestamp:
04/06/13 14:17:55 (9 years ago)
Author:
ramonb
Message:
  • make job start/stop line dashed and different color, with legend
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/graph.php

    r779 r795  
    9090}
    9191
    92 $jobstart_color = "FF0000";
     92$jobstart_color = "3AE302";
     93$jobstop_color = "F5164A";
    9394
    9495if($command)
     
    431432    if ($job_start)
    432433    {
    433         $series .= "VRULE:${job_start}#${jobstart_color} ";
     434        $series .= "VRULE:${job_start}#${jobstart_color}:'job start':dashes=4,2 ";
    434435    }
    435436    if ($job_stop)
    436437    {
    437         $series .= "VRULE:${job_stop}#${jobstart_color} ";
     438        $series .= "VRULE:${job_stop}#${jobstop_color}:'job stop':dashes=4,2 ";
    438439    }
    439440}
Note: See TracChangeset for help on using the changeset viewer.