예제 #1
0
 function __construct($colour, $dot_size)
 {
     parent::ChartsBase();
     $this->type = 'scatter';
     $this->set_colour($colour);
     $this->set_dot_size($dot_size);
 }
예제 #2
0
 function __construct()
 {
     parent::ChartsBase();
     $this->type = 'pie';
     $this->colours = array("#d01f3c", "#356aa0", "#C79810");
     $this->alpha = 0.6;
     $this->border = 2;
     $this->values = array(2, 3, new ChartsPieValue(6.5, 'hello (6.5)'));
 }
예제 #3
0
 function __construct()
 {
     parent::ChartsBase();
     $this->type = 'bar';
 }