Chart::Clicker::Renderer::Point.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

Chart::Clicker::Renderer::Point - Point renderer

DESCRIPTION

Chart::Clicker::Renderer::Point renders a dataset as points.

SYNOPSIS

   my $pr = Chart::Clicker::Renderer::Point->new({
     shape => Geometry::Primitive::Arc->new({
         angle1 => 0,
         angle2 => 180,
         radius  => 5
     })
   });
 
 

ATTRIBUTES

shape

Specify the shape to be used at each point. Defaults to 360 degree arc with a radius of 3.

shape_brush

Optionally provide a brush with with to stroke each point.

METHODS

new

Create a new Point renderer

draw_point

Called for each point. Implemented as a separate method so that subclasses such as Bubble may override the drawing.

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.