options([]); } /** * Formats the dataset for chartjs. * * @return array */ public function format() { return array_merge($this->options, [ 'values' => $this->values, 'name' => $this->name, 'chartType' => $this->type, ]); } }