Chart::Clicker::Renderer::PolarArea.3pm

Langue: en

Version: 2010-05-04 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Chart::Clicker::Renderer::PolarArea - Polar Area renderer

DESCRIPTION

Chart::Clicker::Renderer::PolarArea renders each series as a slice of a pie. The values of the series determine the radius of each slice, with larger values making the slices longer. The 360 degrees of pie is divided equally.

SYNOPSIS

   my $par = Chart::Clicker::Renderer::PolarArea->new;
   # Optionally set the stroke
   $par->brush->width(2);
   # and color
   $par->border_color(Graphics::Color::RGB->new(red => 1, green => 1, blue => 1));
 
 

ATTRIBUTES

border_color

Set/Get the Color to use for the border.

brush

Set/Get a Brush to be used for the polar area's borders, which are around each slice.

METHODS

render

Render the series.

AUTHOR

Cory G Watson <gphat@cpan.org>

SEE ALSO

perl(1)

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.