Пример #1
0
 /**
  * Sets the shadow for this series. Refer to default options.
  * @param array $opts refer to the defaults for the kind of options 
  * @return \Altamira\Series provides fluent interface
  */
 public function setShadow($opts = array('use' => true, 'angle' => 45, 'offset' => 1.25, 'depth' => 3, 'alpha' => 0.1))
 {
     if ($this->jsWriter instanceof \Altamira\JsWriter\Ability\Shadowable) {
         $this->jsWriter->setShadow($this->getTitle(), $opts);
     }
     return $this;
 }