---
name: "Chart::Clicker::Positioned"
section: "3pm"
platform: "linux"
package: "libchart-clicker-perl"
version: "2.90-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Chart::Clicker::Positioned"
---

# Chart::Clicker::Positioned(3pm)

Role for components that care about position.

## NAME

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

## VERSION

version 2.90

## SYNOPSIS

```
    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.  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.

## ATTRIBUTES

### position

The 'side' on which this component is positioned.

## 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\>

## COPYRIGHT AND LICENSE

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.
