NAME
Chart::Clicker::Decoration::Marker
DESCRIPTION
Used to highlight a particular key, value or range of either.
SYNOPSIS
use Chart::Clicker::Decoration::Marker;
use Chart::Clicker::Drawing::Color;
use Chart::Clicker::Drawing::Stroke;
my $mark = new Chart::Clicker::Decoration::Marker({
color= > new Chart::Clicker::Drawing::Color({ name => 'red' }),
stroke => new CHart::Clicker::Drawing::Stroke(),
key => 12,
value => 123,
# Optionally
key2 => 13,
value => 146
});
METHODS
Constructor
- new
Class Methods
- color
-
Set/Get the color for this marker.
- stroke
-
Set/Get the stroke 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.
- 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.