/** * Sets whether to show a line for this series * @param bool $bool * @return \Altamira\Series provides fluent interface */ public function showLine($bool = true) { if ($this->jsWriter instanceof \Altamira\JsWriter\Ability\Lineable) { $this->jsWriter->setSeriesShowLine($this->getTitle(), $bool); } return $this; }