Changeset 17517
- Timestamp:
- 08/12/08 16:11:22 (5 years ago)
- Location:
- lang/perl/Google-Chart-DBIC/trunk
- Files:
-
- 2 modified
-
lib/Google/Chart/DBIC.pm (modified) (2 diffs)
-
t/01_usage.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Google-Chart-DBIC/trunk/lib/Google/Chart/DBIC.pm
r17504 r17517 10 10 is => 'rw', 11 11 required => 1, 12 default => '400x400',12 default => sub {'400x400'}, 13 13 ); 14 14 … … 16 16 is => 'rw', 17 17 required => 1, 18 default => 'line',18 default => sub {'line'}, 19 19 ); 20 20 -
lang/perl/Google-Chart-DBIC/trunk/t/01_usage.t
r17504 r17517 25 25 my $chart = Google::Chart::DBIC->new({ 26 26 resultset => \@list, 27 size => '500x300', 28 type => 'line', 29 }); 30 31 isa_ok $chart, 'Google::Chart::DBIC'; 32 33 my $uri = URI->new($chart->as_uri); 34 diag $uri; 35 ok ($uri); 36 my %h = $uri->query_form; 37 is $h{chs}, '500x300'; 27 }); 28 29 isa_ok $chart, 'Google::Chart::DBIC'; 30 31 my $uri = URI->new($chart->as_uri); 32 diag $uri; 33 ok ($uri); 34 my %h = $uri->query_form; 35 is $h{chs}, '400x400'; 38 36 is $h{cht}, 'lc'; 39 37 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)