NAME

Chart::Clicker::Axis::DivisionType::Exact

VERSION

version 2.90

SYNOPSIS

use Chart::Clicker::Axis;

my $axis = Chart::Clicker::Axis->new({
  tick_division_type  => 'Exact'
});

DESCRIPTION

Role describing how to divide data for Chart::Clicker::Axis.

NAME

Chart::Clicker::Axis::DivisionType::Exact - Divide axis in exact increments, linear scale.

METHODS

best_tick_size

The tick division calculated by taking the range and dividing by the requested number of ticks.

divvy

Divides the range up into exact division for Chart::Clicker::Axis.

AUTHOR

Rod Taylor <chartclicker@rbt.ca>

SEE ALSO

perl(1)

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.

AUTHOR

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE

This 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.