Пример #1
0
 /**
  * Set a serie for the current loaded report
  * @return void
  */
 public function addSerie()
 {
     $row = array();
     $dimName = $this->getProperty('dimensions');
     foreach ($this->ga->report["rows"] as $key => $value) {
         $row['name'] = strtoupper($this->ga->getDimensionName($value[0]));
         $row['y'] = intval($value[1]);
         $this->series['data'][] = $row;
     }
 }