Chart::Clicker::Positioned - Role for components that care about position.
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.
package My::Component; extends 'Chart::Clicker::Drawing::Component'; with 'Chart::Clicker::Positioned'; 1;
Returns true if the component is positioned bottom.
Returns true if the component is positioned left.
Returns true if the component is positioned right.
Returns true if the component is positioned top.
The 'side' on which this component is positioned.
Cory 'G' Watson <gphat@cpan.org>
perl(1)
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.