Scroll to navigation

Chart::Clicker::Renderer::Point(3pm) User Contributed Perl Documentation Chart::Clicker::Renderer::Point(3pm)

NAME

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

VERSION

version 2.90

SYNOPSIS

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

DESCRIPTION

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

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

draw_point

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

AUTHOR

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Cory G Watson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-10 perl v5.34.0