Example #1
0
 protected function compute(array &$q)
 {
     if ($this->rotation) {
         $q['chp'] = $this->rotation;
     }
     parent::compute($q);
     // pie chart doesn't support data scaling.
     // however, i still want to compute a scale for encoding format
     unset($q['chds']);
 }
Example #2
0
 protected function compute(array &$q)
 {
     $q['chbh'] = $this->computeChbh();
     parent::compute($q);
 }