/** * 构造函数 * * @param string $colour 柱体颜色 * @param string $outlineColour 边框颜色 */ public function __construct($colour = null, $outlineColour = null) { parent::__construct(); $this->type = 'bar_filled'; if (!empty($colour)) { $this->setColour($colour); } if (!empty($outlineColour)) { $this->setOutlineColour($outlineColour); } }
/** * 构造函数 */ public function __construct() { parent::__construct(); $this->type = 'bar_glass'; }
/** * 构造函数 */ public function __construct() { parent::__construct(); $this->type = "hbar"; }
/** * 构造函数 */ public function __construct() { parent::__construct(); $this->type = 'bar_stack'; }