src/Classes/Echarts/Chart.php
public function formatOptions(bool $strict = false, bool $noBraces = false)
    {
        $this->options([
            'xAxis' => [
                'data' => json_decode($this->formatLabels()),
            ],
        ]);

        return parent::formatOptions($strict, $noBraces);
    }
public function formatOptions(bool $strict = false, bool $noBraces = false)
    {
        $this->options([
            'xAxis' => [
                'data' => json_decode($this->formatLabels()),
            ],
        ]);

        return parent::formatOptions($strict, $noBraces);
    }
public function formatOptions ( bool $ strict = false , bool $ noBraces = false ) { $ this -> options ( [ 'xAxis' => [ 'data' => json_decode ( $ this -> formatLabels ( ) ) , ] , ] ) ; return parent :: formatOptions ( $ strict , $ noBraces ) ; }
Formats the options.

@return self
Formats the options .