+
+ state $lastmax = $maxval;
+ if ($maxval > $lastmax) {
+ print ' ' x ($lenval + $len);
+ printf "\e[90m" if $opt{color};
+ printf '%-*s',
+ ($lastmax - $minval) * $size + .5,
+ '-' x (($values[$nr - 1] - $minval) * $size);
+ print "\e[92m" if $opt{color};
+ say '+' x (($maxval - $lastmax - $minval) * $size + .5);
+ print "\e[0m" if $opt{color};
+ $lastmax = $maxval;
+ }