Exemple #1
0
 function OFC_Charts_Scatter($colour, $dot_size)
 {
     parent::OFC_Charts_Base();
     $this->type = 'scatter';
     $this->set_colour($colour);
     $this->set_dot_size($dot_size);
 }
 function OFC_Charts_Pie()
 {
     parent::OFC_Charts_Base();
     $this->type = 'pie';
     $this->colours = array("#d01f3c", "#356aa0", "#C79810");
     $this->alpha = 0.6;
     $this->border = 2;
     $this->values = array(2, 3, new OFC_Charts_Pie_Value(6.5, 'hello (6.5)'));
 }
Exemple #3
0
 function OFC_Charts_Line()
 {
     parent::OFC_Charts_Base();
     $this->type = 'line';
 }
 function OFC_Charts_Area()
 {
     parent::OFC_Charts_Base();
     $this->type = 'area';
 }
Exemple #5
0
 function OFC_Charts_Pie()
 {
     parent::OFC_Charts_Base();
     $this->type = 'pie';
 }
Exemple #6
0
 function OFC_Charts_Bar()
 {
     parent::OFC_Charts_Base();
     $this->type = 'bar';
 }
Exemple #7
0
 function OFC_Charts_Shape()
 {
     parent::OFC_Charts_Base();
     $this->type = 'shape';
 }
Exemple #8
0
 function OFC_Charts_Bar_Horizontal()
 {
     parent::OFC_Charts_Base();
     $this->type = 'hbar';
 }
Exemple #9
0
 function OFC_Charts_Arrow()
 {
     parent::OFC_Charts_Base();
     $this->type = 'arrow';
 }