Chart::ThreeD::Pie

Chart::ThreeD::Pie is a Perl module for 3D piecharts.
Download

Chart::ThreeD::Pie Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Fabien Tassin
  • Publisher web site:
  • http://search.cpan.org/~ftassin/Chart-ThreeD-0.01/lib/Chart/ThreeD/Pie.pm

Chart::ThreeD::Pie Tags


Chart::ThreeD::Pie Description

Chart::ThreeD::Pie is a Perl module for 3D piecharts. Chart::ThreeD::Pie is a Perl module for 3D piecharts.SYNOPSIS use Chart::ThreeD::Pie; # create a new pie my $pie = new Chart::ThreeD::Pie (500, 300, "title"); # add data $pie->add (160, '#FFAA00', 'part 1'); $pie->add (350, '#00FF66', 'part 2'); $pie->add (100, '#AA00FF', 'part 3'); $pie->add (300, '#0000FF', 'part 4'); $pie->add (300, '#DD00FF', 'part 5'); $pie->add (300, '#00DDFF', 'part 6'); # add a percentage after each label part. $pie->percents (1); # only draw parts greater or equal to 3%. All other parts will be # concatenated in to a part called "others" (using red color) $pie->limit (2, '#FF0000', 'others'); # thickness of the pie $pie->thickness (30); # sort the "parts" $pie->want_sort (1); # foreground and background colors $pie->fgcolor ('#FF0000'); $pie->bgcolor ('#00FFFF'); # add a border $pie->border (1); # make sure we are writing to a binary stream binmode STDOUT; # Draw the pie, Convert the image to GIF and print it on standard output print $pie->plot->gif; Requirements: · Perl


Chart::ThreeD::Pie Related Software