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)')); }
function OFC_Charts_Line() { parent::OFC_Charts_Base(); $this->type = 'line'; }
function OFC_Charts_Area() { parent::OFC_Charts_Base(); $this->type = 'area'; }
function OFC_Charts_Pie() { parent::OFC_Charts_Base(); $this->type = 'pie'; }
function OFC_Charts_Bar() { parent::OFC_Charts_Base(); $this->type = 'bar'; }
function OFC_Charts_Shape() { parent::OFC_Charts_Base(); $this->type = 'shape'; }
function OFC_Charts_Bar_Horizontal() { parent::OFC_Charts_Base(); $this->type = 'hbar'; }
function OFC_Charts_Arrow() { parent::OFC_Charts_Base(); $this->type = 'arrow'; }