src/Classes/Fusioncharts/Dataset.php
protected function getColors(array $labels)
    {
        $colors = Collection::make(array_key_exists('color', $this->options) ? $this->options['color'] : []);

        while ($colors->count() < count($labels)) {
            $colors->push($this->undefinedColor);
        }

        return $colors;
    }
protected function getColors(array $labels)
    {
        $colors = Collection::make(array_key_exists('color', $this->options) ? $this->options['color'] : []);

        while ($colors->count() < count($labels)) {
            $colors->push($this->undefinedColor);
        }

        return $colors;
    }
protected function getColors ( array $ labels ) { $ colors = Collection :: make ( array_key_exists ( 'color' , $ this -> options ) ? $ this -> options [ 'color' ] : [ ] ) ; while ( $ colors -> count ( ) < count ( $ labels ) ) { $ colors -> push ( $ this -> undefinedColor ) ; } return $ colors ; }
Get the chart colors.

@param array $labels

@return Collection
Get the chart colors .