Exemplo n.º 1
0
 public function get()
 {
     $this->params = array('cht' => (string) $this->type, 'chco' => (string) $this->color, 'chf' => 'bg,s,65432100', 'chs' => (string) $this->size, 'chd' => 't:' . $this->data);
     if (isset($this->datasetLabels)) {
         $this->params['chdl'] = (string) $this->datasetLabels;
     }
     if (isset($this->labels)) {
         $this->params['chl'] = (string) $this->labels;
     }
     return parent::get();
 }
Exemplo n.º 2
0
 public function get()
 {
     $this->reduceDataset();
     $this->params = array('cht' => (string) $this->type, 'chco' => (string) $this->color, 'chf' => 'bg,s,65432100', 'chs' => (string) $this->size, 'chd' => 't:' . $this->data);
     return parent::get();
 }