home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / hbars.pm < prev    next >
Encoding:
Perl POD Document  |  2003-02-10  |  1.6 KB  |  72 lines

  1. #==========================================================================
  2. #              Copyright (c) 1995-1998 Martien Verbruggen
  3. #--------------------------------------------------------------------------
  4. #
  5. #   Name:
  6. #       GD::Graph::hbars.pm
  7. #
  8. # $Id: hbars.pm,v 1.3 2003/02/10 22:12:41 mgjv Exp $
  9. #
  10. #==========================================================================
  11.  
  12. package GD::Graph::hbars;
  13.  
  14. ($GD::Graph::hbars::VERSION) = '$Revision: 1.3 $' =~ /\s([.\d]+)/;
  15.  
  16. use strict;
  17.  
  18. use GD::Graph::bars;
  19. use GD::Graph::utils qw(:all);
  20. use GD::Graph::colour qw(:colours);
  21.  
  22. @GD::Graph::hbars::ISA = qw(GD::Graph::bars);
  23.  
  24. sub initialise
  25. {
  26.     my $self = shift;
  27.     $self->SUPER::initialise();
  28.     $self->set(rotate_chart => 1);
  29. }
  30.  
  31. "Just another true value";
  32.  
  33. __END__
  34.  
  35. =head1 NAME
  36.  
  37. GD::Graph::hbars - make bar graphs with horizontal bars
  38.  
  39. =head1 SYNOPSIS
  40.  
  41. use GD::Graph::hbars;
  42.  
  43. =head1 DESCRIPTION
  44.  
  45. This is a wrapper module which is completely identical to creating a
  46. GD::Graph::bars object with the C<rotate_chart> attribute set to a true
  47. value.
  48.  
  49. =head1 SEE ALSO
  50.  
  51. L<GD::Graph>
  52.  
  53. =head1 AUTHOR
  54.  
  55. Martien Verbruggen E<lt>mgjv@tradingpost.com.auE<gt>
  56.  
  57. =head2 Copyright
  58.  
  59. (c) Martien Verbruggen
  60.  
  61. =head2 Acknowledgements
  62.  
  63. The original author of most of the code needed to implement this was
  64. brian d foy, who sent this module to me after I complained I didn't have
  65. the time to implement horizontal bar charts. I took the code that lived
  66. in here, and distributed it over axestype.pm and bars.pm, to allow for a
  67. better integration all around. His code, in turn, was mainly based on an
  68. earlier version of bars.pm and axestype.pm.
  69.  
  70. =cut
  71.  
  72.