The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Chart::Clicker::Renderer::Point

DESCRIPTION

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

Point Chart

SYNOPSIS

  my $pr = Chart::Clicker::Renderer::Point->new({
    shape => Chart::Clicker::Shape::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.