Ejemplo n.º 1
0
 function __construct($colour, $dot_size)
 {
     parent::ChartsBase();
     $this->type = 'scatter';
     $this->set_colour($colour);
     $this->set_dot_size($dot_size);
 }
Ejemplo n.º 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)'));
 }
Ejemplo n.º 3
0
 function __construct()
 {
     parent::ChartsBase();
     $this->type = 'bar';
 }