container = 'charts::highcharts.container'; $this->script = 'charts::highcharts.script'; return $this->options([ 'credits' => [ 'enabled' => false, ], 'title' => [ 'text' => null, ], ]); } /** * Format the options for highcharts. * * @return string */ public function formatOptions(bool $strict = false, bool $noBraces = false) { if (count($this->labels) > 0) { $this->options([ 'xAxis' => [ 'categories' => json_decode($this->formatLabels()), ], ]); } return parent::formatOptions($strict, $noBraces); } }