/** * Sets fill option for JSWriter for this series * @param array $opts see constructor for keys * @return \Altamira\Series provides fluent interface */ public function setFill($opts = array('use' => true, 'stroke' => false, 'color' => null, 'alpha' => null)) { if ($this->jsWriter instanceof \Altamira\JsWriter\Ability\Fillable) { $this->jsWriter->setFill($this->getTitle(), $opts); } return $this; }