| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# $Id$ |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Google::Chart::Axis::Item; |
|
4
|
1
|
|
|
1
|
|
6
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
8
|
|
|
5
|
1
|
|
|
1
|
|
7416
|
use Moose::Util::TypeConstraints; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
12
|
|
|
6
|
1
|
|
|
1
|
|
3007
|
use Google::Chart::Axis::Style; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
246
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
enum 'Google::Chart::Axis::Location' => qw(x y r t); |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
subtype 'Google::Chart::Axis::StyleList' |
|
11
|
|
|
|
|
|
|
=> as 'ArrayRef[Google::Chart::Axis::Style]' |
|
12
|
|
|
|
|
|
|
; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
coerce 'Google::Chart::Axis::StyleList' |
|
15
|
|
|
|
|
|
|
=> from 'ArrayRef[HashRef]' |
|
16
|
|
|
|
|
|
|
=> via { |
|
17
|
|
|
|
|
|
|
my @list; |
|
18
|
|
|
|
|
|
|
foreach my $h (@$_) { |
|
19
|
|
|
|
|
|
|
push @list, Google::Chart::Axis::Style->new(%$h); |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
return \@list; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
|
|
|
|
|
|
; |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has 'location' => ( |
|
26
|
|
|
|
|
|
|
is => 'rw', |
|
27
|
|
|
|
|
|
|
isa => 'Google::Chart::Axis::Location', |
|
28
|
|
|
|
|
|
|
); |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
has 'labels' => ( |
|
31
|
|
|
|
|
|
|
is => 'rw', |
|
32
|
|
|
|
|
|
|
isa => 'ArrayRef[Str]', |
|
33
|
|
|
|
|
|
|
auto_deref => 1, |
|
34
|
|
|
|
|
|
|
); |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has 'label_positions' => ( |
|
37
|
|
|
|
|
|
|
is => 'rw', |
|
38
|
|
|
|
|
|
|
isa => 'ArrayRef[Num]', |
|
39
|
|
|
|
|
|
|
auto_deref => 1, |
|
40
|
|
|
|
|
|
|
); |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
has 'range' => ( |
|
43
|
|
|
|
|
|
|
is => 'rw', |
|
44
|
|
|
|
|
|
|
isa => 'ArrayRef[Num]', |
|
45
|
|
|
|
|
|
|
auto_deref => 1, |
|
46
|
|
|
|
|
|
|
); |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
has 'styles' => ( |
|
49
|
|
|
|
|
|
|
is => 'rw', |
|
50
|
|
|
|
|
|
|
isa => 'Google::Chart::Axis::StyleList', |
|
51
|
|
|
|
|
|
|
auto_deref => 1, |
|
52
|
|
|
|
|
|
|
); |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
55
|
|
|
|
|
|
|
|
|
56
|
1
|
|
|
1
|
|
10
|
no Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
9
|
|
|
57
|
1
|
|
|
1
|
|
229
|
no Moose::Util::TypeConstraints; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
7
|
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
1; |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
__END__ |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 NAME |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Google::Chart::Axis::Item - Google::Chart Axis Item |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |