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']); }
protected function compute(array &$q) { $q['chbh'] = $this->computeChbh(); parent::compute($q); }