コード例 #1
0
 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;
 }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
 function __construct()
 {
     parent::ChartsBar();
     $this->type = 'bar_3d';
 }