CPAN-Testers-WWW-Reports
view release on metacpan or search on metacpan
lib/Labyrinth/Plugin/CPAN/Monitor.pm view on Meta::CPAN
}
sub _make_graph_url {
my ($m,$title,$days,$data) = @_;
my $max = _set_max($m);
my $range = _set_range(0,$max);
my (@d,@c,@l);
my @colours = @COLOURS;
for my $inx (3 .. scalar(@$data)) {
# data needs to be expressed as a percentage of the max
for(@{$data->[$inx-1]}) {
#print "pcent = $_ / $max * 100 = ";
$_ = $_ / $max * 100;
#print "$_ = ";
$_ = int($_ * 1) / 1;
#print "$_\n";
}
push @c, shift @colours;
push @d, join(',',@{$data->[$inx-1]});
( run in 0.304 second using v1.01-cache-2.11-cpan-624ce96ca49 )