Chart::Clicker::Axis::DivisionType::LinearExpandGraph(3) Role describing how to divide data for Chart::Clicker::Axis

VERSION

version 2.88

SYNOPSIS


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

DESCRIPTION

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

NAME

Chart::Clicker::Axis::DivisionType::LinearRounded - Nicely rounded segments on a linear scale.

ATTRIBUTES

tick_slop

This setting determines whether to add a tick outside of the data. If the tick would be within the percentage of a ticks size specified here as a decimal (10% would be 0.1), then the tick will be added expanding the graph.

METHODS

best_tick_size

The tick division considered best for the approximate number of ticks requested and data within the range.

divvy

Divides the range up into nicely rounded chunks for Chart::Clicker::Axis.

AUTHOR

Rod Taylor <[email protected]>

LICENSE

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

AUTHOR

Cory G Watson <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Cold Hard Code, LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.