++ed by:
TOBYINK SZABGAB PAWAPAWA MISHIN GPHAT

19 PAUSE users
10 non-PAUSE users.

Cory G Watson

NAME

Chart::Clicker::Decoration::Plot

DESCRIPTION

A Component that handles the rendering of data via Renderers. Also handles rendering the markers that come from the Clicker object.

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.

markers

Set/Get the flag that determines if markers are drawn on this plot.

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.