Chart::Clicker::Decoration::Plot
A Component that handles the rendering of data via Renderers. Also handles rendering the markers that come from the Clicker object.
Creates a new Plot object.
Set/Get this Plot's border.
Set/Get this Plot's insets.
Set/Get the flag that determines if markers are drawn on this plot.
Set/Get this Plot's renderers. Uses an arrayref.
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 the index of the renderer that will be used for the DataSet at the specified index.
Prepare this Plot by determining how much space it needs.
Draw this Plot
Cory 'G' Watson <gphat@cpan.org>
perl(1)
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.