Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find highest value
max(mixed $valuemixed ...$values): mixed
        $r /= 255;

        
$g /= 255;

        
$b /= 255;

        
$v  max($r$g$b);



        if (
=== $diff $v min($r$g$b)) {

            return 
0;
            $labelSizes[] = strings($this->stripDecorations($value['label']))->length();

        }



        
$labelSize max($labelSizes);



        
$showPercents $this->showPercents ?? false;

        
$showValues   $this->showValues ?? false;
        

        $result  
'';

        
$min min($this->sparkData);

        
$max max($this->sparkData);




        if (
$min === $max && $max !== 0) {