/** * Override to add the line info and marker at the same time */ protected function SetLegendEntry($dataset, $index, $item, $style_info) { $style_info['line_style'] = $this->curr_line_style; $style_info['fill_style'] = $this->curr_fill_style; parent::SetLegendEntry($dataset, $index, $item, $style_info); }