DOKK / manpages / debian 11 / libchart-clicker-perl / Chart::Clicker::Positioned.3pm.en
Chart::Clicker::Positioned(3pm) User Contributed Perl Documentation Chart::Clicker::Positioned(3pm)

Chart::Clicker::Positioned - Role for components that care about position.

version 2.90

    package My::Component;
    use Moose;
    extends 'Chart::Clicker::Drawing::Component';
    with 'Chart::Clicker::Positioned';
    1;

Some components draw differently depending on which 'side' they are positioned. 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.

The 'side' on which this component is positioned.

Returns true if the component is positioned left.

Returns true if the component is positioned right.

Returns true if the component is positioned top.

Returns true if the component is positioned bottom.

Cory G Watson <gphat@cpan.org>

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.

2016-12-28 perl v5.24.1