Cory G Watson > Chart-Clicker-2.83 > Chart::Clicker::Renderer::Point

Download:
Chart-Clicker-2.83.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.83   Source   Latest Release: Chart-Clicker-2.88

NAME ^

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

VERSION ^

version 2.83

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.

Point Chart

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) 2012 by Cold Hard Code, LLC.

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

syntax highlighting: