/** * Set colors and border for this element * * @param ezcGraphPalette $palette Palette * @return void */ public function setFromPalette(ezcGraphPalette $palette) { foreach ($this->additionalAxis as $element) { $element->setFromPalette($palette); } parent::setFromPalette($palette); }
/** * Set colors and border fro this element * * @param ezcGraphPalette $palette Palette * @return void */ public function setFromPalette(ezcGraphPalette $palette) { $this->childAxisColor = $palette->majorGridColor; parent::setFromPalette($palette); }