NAME

Chart::Clicker::Decoration::Legend

DESCRIPTION

Chart::Clicker::Decoration::Legend draws a legend on a Chart.

SYNOPSIS

METHODS

new

Creates a new Legend object.

border

Set/Get this Legend's border.

draw

Draw this Legend

font

Set/Get the font used for this legend's items.

insets

Set/Get this Legend's insets.

item_padding

Set/Get the padding for this legend's items.

legend_items

Set/Get this legend's items.

prepare

Prepare this Legend by creating the LegendItems based on the datasets provided and testing the lengths of the series names.

tallest

Set/Get the height of the tallest label.

widest

Set/Get the width of the widest label.

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.