NAME

Chart::Clicker::Decoration::Marker

DESCRIPTION

Used to highlight a particular key, value or range of either.

SYNOPSIS

use Chart::Clicker::Decoration::Marker;
use Graphics::Color::RGB;
use Graphics::Primitive::Stroke;

my $mark = Chart::Clicker::Decoration::Marker->new(
   color   => Graphics::Color::RGB->new,
   stroke  => Graphics::Primitive::Stroke->new,
   key     => 12,
   value   => 123,
   # Optionally
   key2    => 13,
   value   => 146
);

METHODS

Constructor

new

Instance Methods

color

Set/Get the color for this marker.

key

Set/Get the key for this marker. This represents a point on the domain.

key2

Set/Get the key2 for this marker. This represents a second point on the domain and is used to specify a range.

stroke

Set/Get the stroke for this Marker.

value

Set/Get the value for this marker. This represents a point on the range.

value2

Set/Get the value2 for this marker. This represents a second point on the range and is used to specify a range.

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.