Chart::Clicker::Data::Marker
Used to highlight a particular key, value or range of either.
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');
Set/Get the brush for this Marker.
Set/Get the color for this marker.
Set/Get the key for this marker. This represents a point on the domain.
Set/Get the key2 for this marker. This represents a second point on the domain and is used to specify a range.
Set/Get the value for this marker. This represents a point on the range.
Set/Get the value2 for this marker. This represents a second point on the range and is used to specify a range.
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.