Changeset 16120

Show
Ignore:
Timestamp:
07/23/08 14:29:49 (5 years ago)
Author:
daisuke
Message:

QRcode support

Location:
lang/perl/Google-Chart/branches/moose
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Google-Chart/branches/moose/lib/Google/Chart.pm

    r16118 r16120  
    3232    does     => 'Google::Chart::Data', 
    3333    coerce   => 1, 
    34     required => 1, 
    3534); 
    3635 
     
    6766 
    6867no 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. 
    6973 
    7074sub as_uri { 
     
    126130    data => [ 1, 2, 3, 4, 5 ] 
    127131  ); 
    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' ); 
    130136 
    131137=head1 METHODS 
     
    170176  ); 
    171177 
     178=item marker 
     179 
     180Specifies the markers that go on line charts. 
     181 
     182=item axis 
     183 
     184Specifies the axis labels and such that go on line and bar charts 
     185 
    172186=back 
    173187 
     
    185199`filename' parameter 
    186200 
     201=head1  
     202 
     203=head1 AUTHORS 
     204 
     205Daisuke Maki C<< <daisuke@endeworks.jp> >> (current maintainer) 
     206 
     207Marcel Grünauer C<< <marcel@cpan.org> >> (original author) 
     208 
     209=head1 LICENSE 
     210 
     211This program is free software; you can redistribute it and/or modify it 
     212under the same terms as Perl itself. 
     213 
     214See http://www.perl.com/perl/misc/Artistic.html 
    187215=cut