public function drawChart($params)
 {
     static $chartDrawn;
     $result = '';
     if (!$chartDrawn) {
         $result .= '<style type="text/css">@import url("' . $this->getInternalCSSURL('/common/css/chart.css') . '");</style>';
         $result .= '<script type="text/javascript" src="' . $this->getInternalJavascriptURL('/common/javascript/chart.js') . '"></script>';
         $chartDrawn = true;
     }
     $result .= KurogoChart::drawChart($params);
     return $result;
 }
Example #2
0
 public function init($params)
 {
     parent::init($params);
 }