Chart:...Rounded(3pm)

πŸ“¦
version 2.90 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Chart::Clicker::Axis::DivisionType::LinearRounded β€” a whole role (iykyk) that describes how to divide data for Chart::Clicker::Axis.

Basically it's the vibe-setter for splitting your axis up. No cap.


✨ VERSION ✨

version 2.90 πŸŽ€


🫢 SYNOPSIS 🫢

okay so here's the moment:

use Chart::Clicker::Axis;

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

that's it. that's the whole flex. πŸ’…


🌸 DESCRIPTION 🌸

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


πŸ‘‘ NAME πŸ‘‘

Chart::Clicker::Axis::DivisionType::LinearRounded β€” Nicely rounded segments on a linear scale.

(no seriously, that's the second NAME section, it's giving "the author had more to say" and honestly? valid.)


πŸ¦‹ 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.

so like… 0.1 means "if it's within 10%, just yeet a tick on there and let the graph grow." periodt.


πŸ”₯ 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.

literally what it says on the tin bestie. it divvies. πŸ’…


🌈 AUTHOR 🌈

Rod Taylor <chartclicker@rbt.ca> 🫢


🧚 SEE ALSO 🧚


πŸ’– LICENSE πŸ’–

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


πŸŽ€ AUTHOR πŸŽ€

Cory G Watson <gphat@cpan.org>

(yes bestie, a second AUTHOR section. iconic behaviour honestly.)


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.


okay that's the whole page, mwah πŸ’‹ β€” this was perl v5.36.0, dated 2022-10-14, and it came to you from the User Contributed Perl Documentation for Chart:...Rounded. go forth and round your ticks beautifully, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from