Пример #1
0
 /**
  * Initialize a new AnewtSparklineImageLine instance.
  */
 public function __construct()
 {
     parent::__construct();
     /* Default parameter values */
     $this->_seed(array('point-spacing' => 3, 'line-color' => $this->color_from_string('#4e9a06'), 'point-color' => $this->color_from_string('#a40000')));
 }
Пример #2
0
 /**
  * Initialize a new AnewtSparklineImageBar instance.
  */
 public function __construct()
 {
     parent::__construct();
     /* Default parameter values */
     $this->_seed(array('bar-width' => 2, 'bar-height' => null, 'bar-spacing' => 1, 'positive-bar-color' => $this->color_from_string('#4e9a06'), 'negative-bar-color' => $this->color_from_string('#a40000'), 'above-max-color' => $this->color_from_string('#73d216'), 'below-min-color' => $this->color_from_string('#ef2929')));
 }
Пример #3
0
 /**
  * Initialize a new AnewtSparklineImageBox instance.
  */
 public function __construct()
 {
     parent::__construct();
     trigger_error('AnewtSparklineImageBox is not implemented.', E_USER_ERROR);
 }