Chart/Type/Radar.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 2 SCAR 13.9
CC
2
Cov
0%
_build_type
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
1  
2 package Google::Chart::Type::Radar;
3 use Moose;
4 use namespace::clean -except => qw(meta);
5  
6 extends 'Google::Chart';
7 with qw(
8 Google::Chart::WithAxis
9 Google::Chart::WithData
10 Google::Chart::WithGrid
11 Google::Chart::WithLinearGradientFill
12 Google::Chart::WithLinearStripe
13 Google::Chart::WithLineStyle
14 Google::Chart::WithMarker
15 Google::Chart::WithRangeFill
16 Google::Chart::WithRangeMarker
17 Google::Chart::WithSolidFill
18 );
19  
20 has use_smooth_line => (
21 is => 'ro',
22 isa => 'Bool',
23 default => 0,
24 );
25  
26 sub _build_type {
27 my $self = shift;
28 return $self->use_smooth_line ? 'rs' : 'r';
29 }
30  
31 __PACKAGE__->meta->make_immutable;
32  
33 1;
34  
35 __END__