Exemple #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);
     }
 }
Exemple #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);
 }
Exemple #3
0
 /**
  * Average
  * @param int $decimals [optional]
  * @return int
  */
 protected function avg($decimals = 2)
 {
     return parent::avg($decimals);
 }
 /**
  * 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 . '")');
 }
 /**
  * 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);
 }
Exemple #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, 208, 240, 272, 305);
 }
Exemple #7
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);
 }