src/Classes/Chartjs/Dataset.php
public function format()
    {
        return array_merge($this->options, [
            'data'  => $this->values,
            'label' => $this->name,
            'type'  => $this->type,
        ]);
    }
public function format()
    {
        return array_merge($this->options, [
            'data'  => $this->values,
            'label' => $this->name,
            'type'  => $this->type,
        ]);
    }
public function format ( ) { return array_merge ( $ this -> options , [ 'data' => $ this -> values , 'label' => $ this -> name , 'type' => $ this -> type , ] ) ; }
Formats the dataset for chartjs.

@return array
Formats the dataset for chartjs .