Changeset 16120
- Timestamp:
- 07/23/08 14:29:49 (5 years ago)
- Location:
- lang/perl/Google-Chart/branches/moose
- Files:
-
- 2 added
- 1 modified
-
lib/Google/Chart.pm (modified) (5 diffs)
-
lib/Google/Chart/Type/QRcode.pm (added)
-
t/53_qrcode.t (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Google-Chart/branches/moose/lib/Google/Chart.pm
r16118 r16120 32 32 does => 'Google::Chart::Data', 33 33 coerce => 1, 34 required => 1,35 34 ); 36 35 … … 67 66 68 67 no Moose; 68 69 # XXX 70 # We need a trigger function that gets called whenever a component 71 # is set, so we can validate if the combination of components are 72 # actually feasible. 69 73 70 74 sub as_uri { … … 126 130 data => [ 1, 2, 3, 4, 5 ] 127 131 ); 128 print $chart->as_uri, "\n"; 129 print $chart->render_to_file( filename => 'filename.png' ); 132 133 print $chart->as_uri, "\n"; # or simply print $chart, "\n" 134 135 $chart->render_to_file( filename => 'filename.png' ); 130 136 131 137 =head1 METHODS … … 170 176 ); 171 177 178 =item marker 179 180 Specifies the markers that go on line charts. 181 182 =item axis 183 184 Specifies the axis labels and such that go on line and bar charts 185 172 186 =back 173 187 … … 185 199 `filename' parameter 186 200 201 =head1 202 203 =head1 AUTHORS 204 205 Daisuke Maki C<< <daisuke@endeworks.jp> >> (current maintainer) 206 207 Marcel Grünauer C<< <marcel@cpan.org> >> (original author) 208 209 =head1 LICENSE 210 211 This program is free software; you can redistribute it and/or modify it 212 under the same terms as Perl itself. 213 214 See http://www.perl.com/perl/misc/Artistic.html 187 215 =cut
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)