logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Chart::Clicker::Axis::DivisionType::LinearRounded - Role describing how to divide data for

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.

Author

       Cory G Watson <gphat@cpan.org>

Description

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

License

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

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.

Name

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

See Also

perl(1)

Synopsis

         use Chart::Clicker::Axis;

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

Version

       version 2.90

See Also