/** * Sets whether to show markers for this series in the JS Writer * @param bool $bool * @return \Altamira\Series provides fluent interface */ public function showMarker($bool = true) { if ($this->jsWriter instanceof \Altamira\JsWriter\Ability\Lineable) { $this->jsWriter->setSeriesShowMarker($this->getTitle(), $bool); } return $this; }