Ejemplo n.º 1
0
 /**
  * Misecellaneous dimensions, fonts, styles, etc.
  *
  * @param string $parameter_name
  *
  * @return string|int|float
  */
 public function parameter($parameter_name)
 {
     $parameters = array('chart-background-f' => 'e9daf1', 'chart-background-m' => 'b1cff0', 'distribution-chart-high-values' => '84beff', 'distribution-chart-low-values' => 'c3dfff');
     if (array_key_exists($parameter_name, $parameters)) {
         return $parameters[$parameter_name];
     } else {
         return parent::parameter($parameter_name);
     }
 }
Ejemplo n.º 2
0
 /**
  * Misecellaneous dimensions, fonts, styles, etc.
  *
  * @param string $parameter_name
  *
  * @return string|int|float
  */
 public function parameter($parameter_name)
 {
     $parameters = array('chart-background-f' => 'e9daf1', 'chart-background-m' => 'b1cff0', 'chart-box-x' => 260, 'chart-box-y' => 85, 'distribution-chart-high-values' => '9ca3d4', 'distribution-chart-low-values' => 'e5e6ef');
     if (array_key_exists($parameter_name, $parameters)) {
         return $parameters[$parameter_name];
     } else {
         return parent::parameter($parameter_name);
     }
 }
Ejemplo n.º 3
0
 /**
  * Misecellaneous dimensions, fonts, styles, etc.
  *
  * @param string $parameter_name
  *
  * @return string|int|float
  */
 public function parameter($parameter_name)
 {
     $parameters = array('chart-background-f' => 'dddddd', 'chart-background-m' => 'cccccc', 'distribution-chart-low-values' => 'cccccc', 'distribution-chart-no-values' => 'ffffff');
     if (array_key_exists($parameter_name, $parameters)) {
         return $parameters[$parameter_name];
     } else {
         return parent::parameter($parameter_name);
     }
 }
Ejemplo n.º 4
0
 /** {@inheritdoc} */
 public function parameter($parameter_name)
 {
     $parameters = array('chart-background-f' => 'fff0f5', 'chart-background-m' => 'd7eaf9', 'chart-background-u' => 'f9f9f9', 'chart-box-x' => 280, 'chart-box-y' => 90, 'chart-font-color' => '333333', 'distribution-chart-high-values' => '9ca3d4', 'distribution-chart-low-values' => 'e5e6ef', 'line-width' => 2);
     if (WT_SCRIPT_NAME === 'pedigree.php' && (Filter::getInteger('orientation') === 2 || Filter::getInteger('orientation') === 3)) {
         $parameters['compact-chart-box-x'] = 105;
         $parameters['compact-chart-box-y'] = 140;
     }
     if (array_key_exists($parameter_name, $parameters)) {
         return $parameters[$parameter_name];
     } else {
         return parent::parameter($parameter_name);
     }
 }