function __construct($colour, $outline_colour, $fun_factor) { parent::ChartsBar(); $this->type = 'bar_sketch'; $this->set_colour($colour); $this->set_outline_colour($outline_colour); $this->offset = $fun_factor; }
function __construct($colour = null, $outline_colour = null) { parent::ChartsBar(); $this->type = 'bar_filled'; if (isset($colour)) { $this->set_colour($colour); } if (isset($outline_colour)) { $this->set_outline_colour($outline_colour); } }
function __construct() { parent::ChartsBar(); $this->type = 'bar_3d'; }