Ejemplo n.º 1
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     parent::addTo($Plot, $yAxis, $addAnnotations);
     if ($this->isRunning) {
         $this->setColorThresholdsAbove($Plot, 185, 173, 162, 151);
     }
 }
Ejemplo n.º 2
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(\Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     if (empty($this->Data)) {
         return;
     }
     parent::addTo($Plot, $yAxis, $addAnnotations);
 }
Ejemplo n.º 3
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     parent::addTo($Plot, $yAxis, $addAnnotations);
     $Plot->Options['hooks']['draw'] = array('RunalyzePlot.flotHookColorPoints(' . '[52.2, 50.7, 49.2, 47.7], ' . '["' . self::COLOR_BAD . '", "' . self::COLOR_OKAY . '", "' . self::COLOR_GOOD . '", "' . self::COLOR_OKAY . '"], ' . '"' . self::COLOR_BAD . '")');
 }
Ejemplo n.º 4
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     parent::addTo($Plot, $yAxis, $addAnnotations);
     $this->setColorThresholdsBelow($Plot, 6.7, 8.300000000000001, 10.0, 11.8);
 }
Ejemplo n.º 5
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     parent::addTo($Plot, $yAxis, $addAnnotations);
     $this->setColorThresholdsBelow($Plot, 208, 240, 272, 305);
 }
Ejemplo n.º 6
0
 /**
  * Add to plot
  * @param \Plot $Plot
  * @param int $yAxis
  * @param boolean $addAnnotations [optional]
  */
 public function addTo(Plot &$Plot, $yAxis, $addAnnotations = true)
 {
     parent::addTo($Plot, $yAxis, $addAnnotations);
     $this->setColorThresholdsBelow($Plot, 6.1, 7.4, 8.6, 10.1);
 }