src/Features/Fusioncharts/Dataset.php
public function color($color)
    {
        if ($color instanceof Collection) {
            $color = $color->toArray();
        }

        return $this->options([
            'color' => $color,
        ]);
    }
public function color($color)
    {
        if ($color instanceof Collection) {
            $color = $color->toArray();
        }

        return $this->options([
            'color' => $color,
        ]);
    }
public function color ( $ color ) { if ( $ color instanceof Collection ) { $ color = $ color -> toArray ( ) ; } return $ this -> options ( [ 'color' => $ color , ] ) ; }
Set the dataset color.

@param string|array|Collection $color

@return self
Set the dataset color .