NAME

Chart::Clicker::Renderer::Point

DESCRIPTION

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

SYNOPSIS

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

ATTRIBUTES

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.

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.

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.