Beispiel #1
0
 public function getUrl()
 {
     $this->scaleValues();
     $this->setBarWidth();
     $retStr = parent::concatUrl();
     $retStr .= "&chbh={$this->realBarWidth},{$this->_groupSpacerWidth}";
     return $retStr;
 }
 public function getGoogleChartUrl()
 {
     $c = KChartGoogle::getInstance(KChartGoogle::PIE);
     $data = $this->getStats();
     $count = array();
     $names = array();
     foreach ($data as $stat) {
         $count[] = $stat->total;
         $names[] = $stat->name;
     }
     $color = new NookuConfigColor();
     //unset red
     $color->set('red', null);
     $color->setPrefix('');
     $c->addData($count)->setValueLabels($names)->setColors($color->getSet());
     return $c->getUrl();
 }
Beispiel #3
0
 public function getUrl()
 {
     $retStr = parent::getUrl();
     //          $retStr .= "&chl=".$this->encodeData($this->_valueLabels,"", "|");
     return $retStr;
 }
Beispiel #4
0
 public function getUrl()
 {
     $retStr = parent::getUrl();
     $retStr .= '&chl=' . $this->encodeData($this->_valueLabels, '', '|');
     return $retStr;
 }
Beispiel #5
0
 /**
  * Concat URL
  */
 protected function concatUrl()
 {
     $result = parent::concatUrl() . '&chtm=' . $this->_region;
     return $result;
 }