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

        $g /= 255;

        $b /= 255;

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



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

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

        }



        $labelSize = max($labelSizes);



        $showPercents = $this->showPercents ?? false;

        $showValues   = $this->showValues ?? false;
<?php         

        $result  = '';

        $min = min($this->sparkData);

        $max = max($this->sparkData);




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