Beispiel #1
0
 /**
  * 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);
 }
Beispiel #2
0
 /**
  * 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);
 }