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


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

Index


NAME

Top

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

DESCRIPTION

Top

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

SYNOPSIS

Top

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

ATTRIBUTES

Top

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

Top

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

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.