Chart:...tioned(3pm)

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

πŸ’– NAME πŸ’–

Chart::Clicker::Positioned β€” Role for components that care about position.

okay bestie, welcome to the Chart:...tioned(3pm) page from the User Contributed Perl Documentation. This is your 3pm manual moment. We're talking about a role for components that literally care about position. Not us guessing, that's the whole vibe.


🌸 VERSION 🌸

version 2.90 β€” that's the one, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so if you wanna use this role, it's giving:

package My::Component;
use Moose;

extends 'Chart::Clicker::Drawing::Component';

with 'Chart::Clicker::Positioned';

1;

πŸ’… DESCRIPTION πŸ’…

Some components draw differently depending on which 'side' they are positioned. Like, if an Axis is on the left, it will put the numbers left and the bar on the right. If positioned on the other side then those two piece are reversed. iconic behavior honestly.


πŸ‘‘ ATTRIBUTES πŸ‘‘

πŸŽ€ position πŸŽ€

The 'side' on which this component is positioned. That's it. That's the whole attribute. slay.


✨ METHODS ✨

🌈 is_left

Returns true if the component is positioned left.

🌈 is_right

Returns true if the component is positioned right.

🌈 is_top

Returns true if the component is positioned top.

🌈 is_bottom

Returns true if the component is positioned bottom.


πŸ’œ AUTHOR πŸ’œ

Cory G Watson <gphat@cpan.org> β€” the icon who wrote this.


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.

no cap, that's the legal tea. 🫢


and finally, this was Chart:...tioned(3pm) from perl v5.36.0, dated 2022-10-14. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from