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

NAME

Chart::Clicker::Decoration::Plot

DESCRIPTION

A Component that handles the rendering of data via Renderers.

SYNOPSIS

METHODS

Constructor

new

Creates a new Plot object.

Class Methods

border

Set/Get this Plot's border.

insets

Set/Get this Plot's insets.

renderers

Set/Get this Plot's renderers. Uses an arrayref.

set_renderer_for_dataset

Sets the Renderer to be used for a particular DataSet. Uses indices:

  my @renderers = ($line, $bar);
  $plot->renderers(\@renderers);
  $plot->set_renderer_for_dataset(0, 0); # dataset idx, renderer idx
  $plot->set_renderer_for_dataset(1, 1);

If no renderer is set for a dataset the zeroth one is used. See get_renderer_for_dataset.

get_renderer_for_dataset

Get the index of the renderer that will be used for the DataSet at the specified index.

prepare

Prepare this Plot by determining how much space it needs.

draw

Draw this Plot

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.