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


Chart-Clicker documentation  | view source Contained in the Chart-Clicker distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

  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

Top

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

Top

render

Render the series.

AUTHOR

Top

Cory G Watson <gphat@cpan.org>

SEE ALSO

Top

perl(1)

LICENSE

Top

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


Chart-Clicker documentation  | view source Contained in the Chart-Clicker distribution.