|
NAMEChart::Clicker::Data::Marker - Highlight arbitrary value(s) VERSIONversion 2.90 SYNOPSIS use Chart::Clicker::Data::Marker;
use Graphics::Color::RGB;
use Graphics::Primitive::Brush;
my $cc = Chart::Clicker->new;
my $mark = Chart::Clicker::Data::Marker->new(
color => Graphics::Color::RGB->new,
brush => Graphics::Primitive::Brush->new,
key => 12,
value => 123,
# Optionally
key2 => 13,
value => 146
);
my $ctx = $cc->get_context('default');
$ctx->add_marker($mark);
$cc->write_output('foo.png');
DESCRIPTIONUsed to highlight a particular key, value or range of either. ATTRIBUTESbrushSet/Get the brush for this Marker. colorSet/Get the color for this marker. inside_colorSet/Get the inside color, which will be used if this range has two keys and two values. keySet/Get the key for this marker. This represents a point on the domain. key2Set/Get the key2 for this marker. This represents a second point on the domain and is used to specify a range. valueSet/Get the value for this marker. This represents a point on the range. value2Set/Get the value2 for this marker. This represents a second point on the range and is used to specify a range. AUTHORCory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Cory G Watson. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|